Style translation doesn't go back to default after switching languages back

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
Karrion
Regular
Posts: 74
Joined: Fri Jan 18, 2019 8:33 pm
Projects: Murder on the Marine Express
Organization: 1564 Studio
itch: 1564-studio
Contact:

Style translation doesn't go back to default after switching languages back

#1 Post by Karrion »

I'm working with Ren'PY 7.3.5 for compatibility reasons and I'm having real trouble with the localization because I use

Code: Select all

translate japanese style slider_label_text:
    font "fonts/JF-Dot-K14.ttf"
    size 44
and the like for basically every style in the game, and when I select japanese, it works as expected, but when I select another language, the font and size don't go back to what it originally was. Does anyone know how to solve this?
1564 Studio, an indie studio dedicated to developing mystery VNs!
Follow us on Twitter for updates on our projects!

Image

Check out our current project, just released on PC, Android, Switch, XBox ONE/Series S/X and PS4/5!
Also available in Spanish, English, French and Japanese!

Image

User avatar
Kia
Eileen-Class Veteran
Posts: 1050
Joined: Fri Aug 01, 2014 7:49 am
Deviantart: KiaAzad
Discord: Kia#6810
Contact:

Re: Style translation doesn't go back to default after switching languages back

#2 Post by Kia »

Did you define styles for the other languages as well?

Post Reply

Who is online

Users browsing this forum: No registered users