Hello, I'm Dito. I'm making small VN, when player can write their name or using default name. Default name for my VN is "Aku" and then I translate the VN and I want the default name become "Me". But, when I play the game and change the language, the "Aku" character is not change to "Me". Other characters and dialogue is changing normally. I don't have any error message or traceback and I don't know why the character is not translated.
Screenshot:
My script:
My translated script:
Thank you for reading my problem and I'm sorry if my English is not good.
Can't Translate Povname Character
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
- PyTom
- Ren'Py Creator
- Posts: 16096
- Joined: Mon Feb 02, 2004 10:58 am
- Completed: Moonlight Walks
- Projects: Ren'Py
- IRC Nick: renpytom
- Github: renpytom
- itch: renpytom
- Location: Kings Park, NY
- Contact:
Re: Can't Translate Povname Character
You can use double underscore for this:
The double underscore function translates the string it's given as an argument.
Code: Select all
if not povname:
povname = __("Aku")
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom(When was the last time you backed up your game?)
Software > Drama • https://www.patreon.com/renpytom
Re: Can't Translate Povname Character
Thank you, but still same, not translated.PyTom wrote: ↑Thu Jul 04, 2019 3:54 pm You can use double underscore for this:
The double underscore function translates the string it's given as an argument.Code: Select all
if not povname: povname = __("Aku")
Re: Can't Translate Povname Character
Hello, I don't know why, but today I test again, and it works. But when in the middle of the game and I change the language, the character name is not change. How to fix this?
Who is online
Users browsing this forum: No registered users