News:

Simutrans Chat Room
Where cool people of Simutrans can meet up.

Translations are not updated when changing languages

Started by Yona-TYT, May 28, 2020, 08:24:05 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Yona-TYT


I have noticed that when changing the language the translations that come from "tab" files (like es.tab) do not update, they only do it after reloading the scenario.

Yona-TYT

Can you replicate this?
This appears to affect links.

To replicate load the scenario with the language in English, once loaded change the language to Spanish.script:
https://www.mediafire.com/file/kyxbetzfi26ph6j/tutorial_pak64v-1.4.00-test-4.zip/file
You will notice the following:
The text of links "This is a town center, This is a factory, This is a station, This is a link" should change to the Spanish language.

If you load the scenario again "keeping the language in Spanish" the texts appear correctly translated.

Dwachs

It seems that the script does not recompute some strings. In these get_*_text all strings need to be recomputed.
Parsley, sage, rosemary, and maggikraut.

Yona-TYT

I suppose it is a problem with the script? In this case I am not sure how to solve.