Did the translation for renpy by "generate translation" (there's the file for it with the translations . RPY and . RPYC) but getting it into the game is impossible. And I've googled and tried finding tutorials but for some reason none of them talk about this, just how to use outside programs to make translations. Renpy's tutorial doesn't have much on it either, definitely couldn't tell if any part explained how to get the English translations to go away and make the Russian ones work.
There's still the default English language on my vn so nothing I've tried has worked. Even tried to manually change the entire script for the game, one line at a time, but it doesn't recognize Cyrillic letters, so it's all dots.
I'm a complete newbie and could make a vn just by googling and following guides so I don't understand anything.
There was one suggestion of adding into screens.rpy
translate russian style default:
font "stonecutter.ttf"
translate russian python:
gui.text_font = "stonecutter.ttf"
Which does nothing.
And one person who lost his temper with me not understanding anything guided me to write into screens in screen preference() under the vbox, which should, I guess, give me the opportunity to get an option to switch languages in the game once I've opened it:
hbox:
frame:
style_prefix "check"
has vbox
label _("Language")
textbutton _("russian") action Language(None)
textbutton _("{font=SF-Display-Display-Regular.otf}CYRILLICFORRUSSIANHERE{/font}") action Language("russian")
hbox:textbutton _("{russian.otf} russia{/font}" )
action russian("russian")
And I just keep getting long strings of error-messages when I try to fire up the game.
Two more details: switched the fonts so it should show Cyrillic. And I accidentally gave the translation name "russia" So I've been writing the code for "russia" and Not "russian", So i hope that's not why it's not working?
There's still the default English language on my vn so nothing I've tried has worked. Even tried to manually change the entire script for the game, one line at a time, but it doesn't recognize Cyrillic letters, so it's all dots.
I'm a complete newbie and could make a vn just by googling and following guides so I don't understand anything.
There was one suggestion of adding into screens.rpy
translate russian style default:
font "stonecutter.ttf"
translate russian python:
gui.text_font = "stonecutter.ttf"
Which does nothing.
And one person who lost his temper with me not understanding anything guided me to write into screens in screen preference() under the vbox, which should, I guess, give me the opportunity to get an option to switch languages in the game once I've opened it:
hbox:
frame:
style_prefix "check"
has vbox
label _("Language")
textbutton _("russian") action Language(None)
textbutton _("{font=SF-Display-Display-Regular.otf}CYRILLICFORRUSSIANHERE{/font}") action Language("russian")
hbox:textbutton _("{russian.otf} russia{/font}" )
action russian("russian")
And I just keep getting long strings of error-messages when I try to fire up the game.
Two more details: switched the fonts so it should show Cyrillic. And I accidentally gave the translation name "russia" So I've been writing the code for "russia" and Not "russian", So i hope that's not why it's not working?