My game doesn´t show some dialogs of the translation
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.
- charliesan763
- Regular
- Posts: 25
- Joined: Mon Jan 23, 2017 8:16 am
- Completed: Disencounters, 20 Seconds
- Projects: Hunters In The Night, Paradise in the Heart
- Organization: Primate Dogma
- itch: Primate Dogma
- Location: Argentina
- Contact:
My game doesn´t show some dialogs of the translation
Hi, so I ended my first game with renpy! so I started to work in the esnglish translation but I´m having an issue when I test it because some dialogs are visible and some are not I have no idea why this is happening. This is what I did after ending the game:
First, I added
init -3 python:
if persistent.lang is None:
persistent.lang = "spanish"
lang = persistent.lang
in the options.rpy because the primary language is in spanish. Then I made a language button in the game menu
frame:
style_group "pref"
has vbox
label _("Language")
textbutton "Español" action Language(None)
textbutton "English" action Language("english")
in the screens.rpy. I translated the common and screens files in the game>tl folder and started to translate the script.rpy to english
until I noticed this problem so what did I miss? (btw: I´m using Editra v0.6.99 idk if that has something to do with the problem)
First, I added
init -3 python:
if persistent.lang is None:
persistent.lang = "spanish"
lang = persistent.lang
in the options.rpy because the primary language is in spanish. Then I made a language button in the game menu
frame:
style_group "pref"
has vbox
label _("Language")
textbutton "Español" action Language(None)
textbutton "English" action Language("english")
in the screens.rpy. I translated the common and screens files in the game>tl folder and started to translate the script.rpy to english
until I noticed this problem so what did I miss? (btw: I´m using Editra v0.6.99 idk if that has something to do with the problem)
- Ocelot
- Lemma-Class Veteran
- Posts: 2434
- Joined: Tue Aug 23, 2016 10:35 am
- Github: MiiNiPaa
- Discord: MiiNiPaa#4384
- Contact:
Re: My game doesn´t show some dialogs of the translation
Which dialogs are missing? Can you show a part of script containing skipped dialogues?
Also, what is the point of those 'lang' variables?
Also, what is the point of those 'lang' variables?
< < insert Rick Cook quote here > >
- charliesan763
- Regular
- Posts: 25
- Joined: Mon Jan 23, 2017 8:16 am
- Completed: Disencounters, 20 Seconds
- Projects: Hunters In The Night, Paradise in the Heart
- Organization: Primate Dogma
- itch: Primate Dogma
- Location: Argentina
- Contact:
Re: My game doesn´t show some dialogs of the translation
You can see it in the screenshot. The fist line "I have 30 y...", "my second play was the same...", "what comes up..."Ocelot wrote:Which dialogs are missing? Can you show a part of script containing skipped dialogues?
I don´t know what language variable you are saying, the first one? I believe that´s how you tell renpy there´re more than one language. I´m new at this so I use all I found seaching.Ocelot wrote:Also, what is the point of those 'lang' variables?
- Ocelot
- Lemma-Class Veteran
- Posts: 2434
- Joined: Tue Aug 23, 2016 10:35 am
- Github: MiiNiPaa
- Discord: MiiNiPaa#4384
- Contact:
Re: My game doesn´t show some dialogs of the translation
You do not have to do that. Those variables do nothing at all.I believe that´s how you tell renpy there´re more than one language
So, just to be clear. You start your game, click on 'english' button, start your game, and those dialogues are still in Spanish, am I right?
< < insert Rick Cook quote here > >
- charliesan763
- Regular
- Posts: 25
- Joined: Mon Jan 23, 2017 8:16 am
- Completed: Disencounters, 20 Seconds
- Projects: Hunters In The Night, Paradise in the Heart
- Organization: Primate Dogma
- itch: Primate Dogma
- Location: Argentina
- Contact:
Re: My game doesn´t show some dialogs of the translation
No, the dialogues are showed in english (when the english language is selected), it just that some of them are visible and some are notOcelot wrote:You do not have to do that. Those variables do nothing at all.I believe that´s how you tell renpy there´re more than one language
So, just to be clear. You start your game, click on 'english' button, start your game, and those dialogues are still in Spanish, am I right?
- Ocelot
- Lemma-Class Veteran
- Posts: 2434
- Joined: Tue Aug 23, 2016 10:35 am
- Github: MiiNiPaa
- Discord: MiiNiPaa#4384
- Contact:
Re: My game doesn´t show some dialogs of the translation
This is certainly strange. Try to reproduce it on a fresh project. Or just try to create a small, self-contained example (cut everything aside from the problem parts) and post it there.
< < insert Rick Cook quote here > >
- korova
- Veteran
- Posts: 217
- Joined: Sat Jun 27, 2009 5:15 pm
- Completed: Ivy, Chocolate, Time, Clair Obscur
- Projects: Writing exercises, The House [Nano18]
- Tumblr: korova08
- itch: korova
- Location: Normandie, France
- Contact:
Re: My game doesn´t show some dialogs of the translation
Have you modified some of your spanish text after you translated it into english ?
If yes, you'll have to generate translation again, and your modified spanish text will appear at the end of the file.
You should do your translations at the very end of developping process, when you're sure your text won't be modified.
[edit:tons of typos >.<]
If yes, you'll have to generate translation again, and your modified spanish text will appear at the end of the file.
You should do your translations at the very end of developping process, when you're sure your text won't be modified.
[edit:tons of typos >.<]
Last edited by korova on Fri Mar 17, 2017 6:02 am, edited 1 time in total.
- charliesan763
- Regular
- Posts: 25
- Joined: Mon Jan 23, 2017 8:16 am
- Completed: Disencounters, 20 Seconds
- Projects: Hunters In The Night, Paradise in the Heart
- Organization: Primate Dogma
- itch: Primate Dogma
- Location: Argentina
- Contact:
Re: My game doesn´t show some dialogs of the translation
Thanks for the suggestions The mistake was that, like korova mentioned, I modified some of the spanish text after I translated it into english I just delete the old english translation folder and created a new one and it´s seems to be working now
Last edited by charliesan763 on Fri Mar 17, 2017 1:28 pm, edited 1 time in total.
- korova
- Veteran
- Posts: 217
- Joined: Sat Jun 27, 2009 5:15 pm
- Completed: Ivy, Chocolate, Time, Clair Obscur
- Projects: Writing exercises, The House [Nano18]
- Tumblr: korova08
- itch: korova
- Location: Normandie, France
- Contact:
Re: My game doesn´t show some dialogs of the translation
Happy to be of some help.
I usually write in french and translate into english afterwards, so I experienced this issue many times...
I usually write in french and translate into english afterwards, so I experienced this issue many times...
Who is online
Users browsing this forum: No registered users