- Oct 4, 2020
- 435
- 873
Sorry for my English.
In the changelog for version 7.4.2 it says:
renpy.translate_string () is now a documented function that provides the ability to translate a string to a selected language.
I have looked everywhere and the only thing I have found has been in renpy documentation that says:
renpy.translate_string (s, language = <renpy.object.Sentinel object at 0x7faa89a44890>)
Returns s immediately translated into language. If language is Default, uses the language set in the preferences. Strings enclosed in this function will not be added to the list of translatable strings. Note that the string may be double-translated, if it matches a string translation when it is displayed.
Could someone please be so kind as to explain its use and create a little code for me to understand it well?
Thanks a lot
In the changelog for version 7.4.2 it says:
renpy.translate_string () is now a documented function that provides the ability to translate a string to a selected language.
I have looked everywhere and the only thing I have found has been in renpy documentation that says:
renpy.translate_string (s, language = <renpy.object.Sentinel object at 0x7faa89a44890>)
Returns s immediately translated into language. If language is Default, uses the language set in the preferences. Strings enclosed in this function will not be added to the list of translatable strings. Note that the string may be double-translated, if it matches a string translation when it is displayed.
Could someone please be so kind as to explain its use and create a little code for me to understand it well?
Thanks a lot