Should-be-a-variable does not translate

Technical support requests for Capitalism Lab
Post Reply
User avatar
de1irium
Level 2 user
Posts: 30
Joined: Sun Dec 23, 2018 11:35 pm

Should-be-a-variable does not translate

Post 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 2294 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 2294 times

Could somebody please investigate the problem?
torajiro
Translation Contributor
Translation Contributor
Posts: 140
Joined: Mon Jul 15, 2019 9:33 am
Has thanked: 1 time

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

Post 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.
Attachments
3391.png
3391.png (5.03 KiB) Viewed 2260 times
User avatar
David
Community and Marketing Manager at Enlight
Posts: 9356
Joined: Sat Jul 03, 2010 1:42 pm
Has thanked: 17 times
Been thanked: 48 times

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

Post 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
Post Reply