Page 1 of 1

Should-be-a-variable does not translate

Posted: Fri Nov 24, 2023 3:39 pm
by de1irium
Hello, I've noticed that in some places, text does not act as a variable:
Capture d’écran 2023-11-24 102303.png
Capture d’écran 2023-11-24 102303.png (57.11 KiB) Viewed 2335 times

whereas I can assert that Apparel does translate correctly:
Capture d’écran 2023-11-24 102019.png
Capture d’écran 2023-11-24 102019.png (22.27 KiB) Viewed 2335 times

Could somebody please investigate the problem?

Re: Should-be-a-variable does not translate

Posted: Sat Nov 25, 2023 9:50 am
by torajiro
You should add [3391]<EEX1>Player Expertise on| to t_game.txt in the translate folder of your language.
Then translate that "Player Expertise on".
Then the word "Apparel" in the game will change to the one translated in translate.txt.

P.S.
The above example is only with regard to the case of Player on expertice on Apparel.

Perhaps in other cases as well, by first appending to t_game.txt in your language, the contents of the associated translate.txt may be applied as a variable.
(The contents of t_game.txt in your language must be based on t_game.txt in the Capitalism Lab\text. You may know this.)
However, I don't think everything will work with it.Sometimes the only way to do this is to ask the developer.

Re: Should-be-a-variable does not translate

Posted: Thu Nov 30, 2023 1:40 am
by David
This has been improved in the latest patch v9.1.28. Please download it from https://www.capitalism2.com/forum/viewt ... f=7&t=9210