- Jan 12, 2019
- 2,335
- 2,425
Una volta che ho modificato i file rpy contenuti nella cartella "tl" generata con Ren'Py sdk, come faccio ad applicare la traduzione? Se sostituisco i file rpy modificati con quelli originali, il gioco mi da errore. In più, devo tradurre per forza tutte le stringhe all'interno di un file o alcune posso lasciarle vuote (ovvero "")?
Immagino che abbiate risolto, è passato molto tempo.anche io vorrei sapere come applicare la traduzione
Ma una volta che avete tradotto i file nella cartella "tl", state a posto. È lì che devono stare, non dovete spostarli o copiarli altrove.
Quello che dovete fare è dire al gioco di usare l'italiano. Un modo è quello di aprire il file game\screens.rpy e aggiungere un menu che permetta di cambiare lingua.
Se il file è quello classico di Ren'py, cercate il blocco:
Your posts are quite old, I suppose you have solved your problem since then.
Anyway, once you have translated the files inside the "tl" folder, you are done. Don't copy and paste them, don't move them.
You just have to instruct the game to use the Italian language. There are many ways to do this. For instance open game\screens.rpy and add a language menu.
Il the file is the usual one shipped with Ren'py, look for these lines:
Code:
vbox:
style_prefix "check"
label _("Skip")
textbutton _("Unseen Text") action Preference("skip", "toggle")
textbutton _("After Choices") action Preference("after choices", "toggle")
textbutton _("Transitions") action InvertSelected(Preference("transitions", "toggle"))
and add below:
Code:
vbox:
style_prefix "radio"
label _("Language")
textbutton "English" action Language(None)
textbutton "Italiano" action Language("italiano")
Salvate lo script, avviate il gioco, aprite la voce "Preferences" dal menu, cliccate "Italiano" e buon divertimento!
The last word must be the name of the subfolder inside the "tl" folder. Yes, the very same word you have typed when you have generated the translation files (in tomcire's example: "italiano"). If the word is different, the game cannot find your translation.
Save the script, launch the game, open the "Preferences" tab, click "Italiano" and have fun!
Summertime Saga è tradotto, penso che tu possa scaricare i file e usarli offline:qualcuno sa dove si puo trovare la traduzione di Summertime saga e di building our futature?
Summertime Saga is fully translated, I guess you can download the files and use them offline:
You must be registered to see the links