Translation Hiccup-- Time Sensitive!

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
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.
Post Reply
Message
Author
User avatar
WhiteMageChiu
Regular
Posts: 35
Joined: Thu Dec 12, 2013 8:35 pm
Completed: Two Steps Back
Projects: I Woke Up Because it Hurt, A Case of Two Souls Becoming One, In Which I Was Never the Hero
Organization: CureAll
Tumblr: chiuscanvas
Deviantart: inuyashatoysrule
Location: [The World]
Contact:

Translation Hiccup-- Time Sensitive!

#1 Post by WhiteMageChiu »

So I'm in a bit of a time crunch here...

I'm all but ready to launch my game, I have a deadline to meet, and I just finished translating my game so that it'll be bilingual German and English. I've gotten all the buttons and what not to work, so if you click the English button you can play in English, and German German but--

No matter what the menu buttons are now permanently in German, even though the translation code for the buttons is in my translation rpy file.

It's such a tiny little thing and I'm probably missing some tiny silly thing but I would really appreciate the help-!!

Code: Select all

init python:

    # Translatable strings found in common/00developer.rpy

    config.translations[u'Developer Menu'] = u'Developer Menu'
    config.translations[u'Return to the developer menu'] = u'Return to the developer menu'

    # Translatable strings found in common/00library.rpy

    config.translations[u'Skip Mode'] = u'Skip Mode'
    config.translations[u'Fast Skip Mode'] = u'Fast Skip Mode'
    config.translations[u"While Ren'Py games may be playable without the renpy module, some features may be disabled. For more information, read the module/README.txt file or go to http://www.bishoujo.us/renpy/."] = u"While Ren'Py games may be playable without the renpy module, some features may be disabled. For more information, read the module/README.txt file or go to http://www.bishoujo.us/renpy/."
    config.translations[u'renpy module not found.'] = u'renpy module not found.'
    config.translations[u'The renpy module could not be loaded on your system.'] = u'The renpy module could not be loaded on your system.'
    config.translations[u'Old renpy module found.'] = u'Old renpy module found.'
    config.translations[u"An old version (%d) of the Ren'Py module was found on your system, while this game requires version %d."] = u"An old version (%d) of the Ren'Py module was found on your system, while this game requires version %d."
    config.translations[u'Please click to continue.'] = u'Please click to CONTINUE.'

    # Translatable strings found in common/00menus.rpy

    config.translations[u'Start Game'] = u'Starte Spiel'
    config.translations[u'Start Part 2'] = u'Starte Teil 2'
    config.translations[u'Load Game'] = u'Spiel Laden'
    config.translations[u'Preferences'] = u'Einstellungen'
    config.translations[u'Help'] = u'Hilfe'
    config.translations[u'Quit'] = u'Beenden'
    config.translations[u'Return'] = u'Zurk'
    config.translations[u'Save Game'] = u'Spiel Speichern'
    config.translations[u'Main Menu'] = u'Hauptmen'
    config.translations[u'Are you sure you want to quit?'] = u'Bist du sicher, dass du das Spiel beenden willst?'
    config.translations[u'Are you sure you want to return to the main menu?\nThis will lose unsaved progress.'] = u'Are you sure you want to return to the main menu?\nThis will lose unsaved progress.'

    # Translatable strings found in common/_layout/one_column_preferences.rpym

    config.translations[u'Display'] = u'Bildschirm'
    config.translations[u'Transitions'] = u'bergge'
    config.translations[u'Skip'] = u'berspringen'
    config.translations[u'Begin Skipping'] = u'Beginne berspringen'
    config.translations[u'After Choices'] = u'Weitere Entscheidungen'
    config.translations[u'Text Speed'] = u'Text Geschwindigkeit'
    config.translations[u'Auto-Forward Time'] = u'Auto-Forward Time'
    config.translations[u'Music Volume'] = u'Lautstke Musik'
    config.translations[u'Sound Volume'] = u'Lautstke Gersche'
    config.translations[u'Voice Volume'] = u'Lautstke Stimmen'
    config.translations[u'Joystick...'] = u'Controller...'

    # Translatable strings found in common/_layout/classic_yesno_prompt.rpym

    config.translations[u'Yes'] = u'Ja'
    config.translations[u'No'] = u'Nein'

    # Translatable strings found in common/_layout/scrolling_load_save.rpym

    config.translations[u'Empty SLOT.'] = u'Empty SLOT.'
    config.translations[u'Are you sure you want to overwrite your save?'] = u'Are you sure you want to overwrite your save?'
    config.translations[u'Loading will lose unsaved progress.\nAre you sure you want to do this?'] = u'Loading will lose unsaved progress.\nAre you sure you want to do this?'
    config.translations[u'Are you sure you want to delete this save?'] = u'Are you sure you want to delete this save?'
    config.translations[u'q'] = u'q'
    config.translations[u'a'] = u'a'

    # Translatable strings found in common/_layout/classic_joystick_preferences.rpym

    config.translations[u'Not Assigned'] = u'Not Assigned'
    config.translations[u'Joystick Mapping'] = u'Joystick Mapping'
    config.translations[u'Left'] = u'Left'
    config.translations[u'Right'] = u'Right'
    config.translations[u'Up'] = u'Up'
    config.translations[u'Down'] = u'Down'
    config.translations[u'Select/Dismiss'] = u'Select/Dismiss'
    config.translations[u'Rollback'] = u'Rollback'
    config.translations[u'Hold to Skip'] = u'Hold to Skip'
    config.translations[u'Toggle Skip'] = u'Toggle Skip'
    config.translations[u'Hide Text'] = u'Beenden Text'
    config.translations[u'Menu'] = u'Menu'
    config.translations[u'Move the joystick or press a joystick button to create the mapping. Click the mouse to remove the mapping.'] = u'Move the joystick or press a joystick button to create the mapping. Click the mouse to remove the mapping.'

    # Translatable strings found in common/_layout/classic_preferences_common.rpym

    config.translations[u'Test'] = u'Test'
    config.translations[u'Window'] = u'Fenster'
    config.translations[u'Fullscreen'] = u'Vollbild'
    config.translations[u'All'] = u'Alle'
    config.translations[u'Some'] = u'Some'
    config.translations[u'None'] = u'Keine'
    config.translations[u'Seen Messages'] = u'Gesehene Nachrichten'
    config.translations[u'All Messages'] = u'Alle Nachrichten'
    config.translations[u'Stop Skipping'] = u'Stoppe berspringen'
    config.translations[u'Keep Skipping'] = u'Beginne berspringen'

    # Translatable strings found in common/_layout/classic_load_save.rpym

    config.translations[u'Auto'] = u'Auto'
    config.translations[u'Quick'] = u'Schnell'
    config.translations[u'Previous'] = u'Vorheriges'
    config.translations[u'Next'] = u'Nhstes'

    # Translatable strings found in common/_compat/gamemenu.rpym

    config.translations[u'The error message was:'] = u'The error message was:'
    config.translations[u'You may want to try saving in a different SLOT, or playing for a while and trying again later.'] = u'You may want to try saving in a different slot, or playing for a while and trying again later.'
    config.translations[u'Save Failed.'] = u'Save Failed.'

    # Translatable strings found in common/_compat/preferences.rpym

    config.translations[u'Joystick Configuration'] = u'Joystick Configuration'

    # Translatable strings found in common/_compat/mainmenu.rpym

    config.translations[u'Continue Game'] = u'CONTINUE Game'
https://twitter.com/CureAllChiu
http://www.chiuscanvas.tumblr.com

Keep updated on my horror/ mystery visual novel [I Woke Up Because It Hurt!]
[Currently @ 20% completion- chugging along on coding, art, music. Writing completed]

User avatar
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: Translation Hiccup-- Time Sensitive!

#2 Post by PyTom »

This is old code. Please check out the Ren'Py documentation for the new way to do translations, which supports multiple languages.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
Software > Drama • https://www.patreon.com/renpytom

User avatar
WhiteMageChiu
Regular
Posts: 35
Joined: Thu Dec 12, 2013 8:35 pm
Completed: Two Steps Back
Projects: I Woke Up Because it Hurt, A Case of Two Souls Becoming One, In Which I Was Never the Hero
Organization: CureAll
Tumblr: chiuscanvas
Deviantart: inuyashatoysrule
Location: [The World]
Contact:

Re: Translation Hiccup-- Time Sensitive!

#3 Post by WhiteMageChiu »

Hi, thanks for the response!

If you're referring to this:

translate None strings:
old "Start Game"
new "Artstay Amegay"

I've already tried it, and for some reason it's not working : /
Which is why I went looking for another way, and ended up finding what I originally posted.
https://twitter.com/CureAllChiu
http://www.chiuscanvas.tumblr.com

Keep updated on my horror/ mystery visual novel [I Woke Up Because It Hurt!]
[Currently @ 20% completion- chugging along on coding, art, music. Writing completed]

User avatar
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: Translation Hiccup-- Time Sensitive!

#4 Post by PyTom »

Should't it be translate german strings?

Please read the documentation at:

http://www.renpy.org/doc/html/translation.html
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
Software > Drama • https://www.patreon.com/renpytom

User avatar
WhiteMageChiu
Regular
Posts: 35
Joined: Thu Dec 12, 2013 8:35 pm
Completed: Two Steps Back
Projects: I Woke Up Because it Hurt, A Case of Two Souls Becoming One, In Which I Was Never the Hero
Organization: CureAll
Tumblr: chiuscanvas
Deviantart: inuyashatoysrule
Location: [The World]
Contact:

Re: Translation Hiccup-- Time Sensitive!

#5 Post by WhiteMageChiu »

I did, and the way I understood it was that translating the 'none' strings effected the menu buttons, and when I wrote out the code like it says to in the document nothing happens.

It's possible that I misunderstood what it was saying though.
https://twitter.com/CureAllChiu
http://www.chiuscanvas.tumblr.com

Keep updated on my horror/ mystery visual novel [I Woke Up Because It Hurt!]
[Currently @ 20% completion- chugging along on coding, art, music. Writing completed]

Post Reply

Who is online

Users browsing this forum: Bing [Bot], Google [Bot], LegsWild