Translating the main menu
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: Translating the main menu
Are you using the new GUI? It uses these translations, while the old system does not.
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: Translating the main menu
Well.. I updated Renpy and then moved my game files from the old version to the new one, does this count as using the new GUI?PyTom wrote:Are you using the new GUI? It uses these translations, while the old system does not.
Or do I need to create a new project and move my code to it?
- 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: Translating the main menu
Yes, you'd need to create a new project using the new gui framework. Or you could update the call of the FileTime function in screens.rpy to be something like:
FileTime(slot, format=_("{#file_time}%A, %B %d %Y, %H:%M"), empty=_("empty slot"))
FileTime(slot, format=_("{#file_time}%A, %B %d %Y, %H:%M"), empty=_("empty slot"))
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: Translating the main menu
I might sound stupid but I'm going to ask anyway,PyTom wrote:Yes, you'd need to create a new project using the new gui framework. Or you could update the call of the FileTime function in screens.rpy to be something like:
FileTime(slot, format=_("{#file_time}%A, %B %d %Y, %H:%M"), empty=_("empty slot"))
The new GUI doesn't give the option to choose a language for your game when you create a new project, right?
Because I created multiple projects and didn't see that option and when I tried to add this line
Code: Select all
config.rtl = True
So how one would go about creating a new non-English game?
Thank you
- Divona
- Miko-Class Veteran
- Posts: 678
- Joined: Sun Jun 05, 2016 8:29 pm
- Completed: The Falconers: Moonlight
- Organization: Bionic Penguin
- itch: bionicpenguin
- Contact:
Re: Translating the main menu
https://www.renpy.org/doc/html/translat ... -languagesFatimah wrote: The new GUI doesn't give the option to choose a language for your game when you create a new project, right?
Once you change the language of the launcher (Preferences -> Language), that language will be the primary 'None' language when you create new project. Whatever strings that had been translated into your choosen language will be there along with your new project.
'None' language is your default language for the visual novel.
- Donmai
- Eileen-Class Veteran
- Posts: 1960
- Joined: Sun Jun 10, 2012 1:45 am
- Completed: Toire No Hanako, Li'l Red [NaNoRenO 2013], The One in LOVE [NaNoRenO 2014], Running Blade [NaNoRenO 2016], The Other Question, To The Girl With Sunflowers
- Projects: Slumberland
- Location: Brazil
- Contact:
Re: Translating the main menu
Anyway, I guess we'll have to wait for a new update before we can fully use the translation framework with the new GUI.
viewtopic.php?p=430440#p430440
viewtopic.php?p=430440#p430440
No, sorry! You must be mistaking me for someone else.
TOIRE NO HANAKO (A Story About Fear)
TOIRE NO HANAKO (A Story About Fear)
Re: Translating the main menu
Divona wrote:https://www.renpy.org/doc/html/translat ... -languagesFatimah wrote: The new GUI doesn't give the option to choose a language for your game when you create a new project, right?
Once you change the language of the launcher (Preferences -> Language), that language will be the primary 'None' language when you create new project. Whatever strings that had been translated into your choosen language will be there along with your new project.
'None' language is your default language for the visual novel.
Thank you. It really appears that the translation is not fully working right now.Donmai wrote:Anyway, I guess we'll have to wait for a new update before we can fully use the translation framework with the new GUI.
viewtopic.php?p=430440#p430440
I changed the launcher language & created a new project and I got this:
It writes Arabic from left to right and the letters are not connected together.
For now, I'll go back to the old GUI.
Thank you for your help.
Who is online
Users browsing this forum: Google [Bot]