Problem with the "t_game" file

This forum is for those of you who are interested in localizing the game text in Capitalism Lab into your native language on your own
Post Reply
paulwoman
Translation Contributor
Translation Contributor
Posts: 774
Joined: Tue May 24, 2016 4:22 pm
Has thanked: 5 times
Been thanked: 2 times

Re: Problem with the "t_game" file

Post by paulwoman »

You may add lines to translate "pair" and "paris" in translate.txt in the next version 6.5.00 and it should work.

I hope it's okay since it's the same word ^^
David wrote: Wed May 20, 2020 4:30 am Do you have lines for "Yes" and "No" in translate.txt?
I had already "translated" some "yes" but not how it's put there... Now it works well :)

I updated the files. They are the same as the one I sent in the last private message and the screenshot for the example of your page.
Exe
https://pool343.seedbox.fr/files/index. ... /download
Zip
https://pool343.seedbox.fr/files/index. ... L/download

Image
User avatar
David
Community and Marketing Manager at Enlight
Posts: 9383
Joined: Sat Jul 03, 2010 1:42 pm
Has thanked: 21 times
Been thanked: 53 times

Re: Problem with the "t_game" file

Post by David »

paulwoman wrote: Wed May 20, 2020 7:20 am I updated the files. They are the same as the one I sent in the last private message and the screenshot for the example of your page.
Exe
https://pool343.seedbox.fr/files/index. ... /download
Zip
https://pool343.seedbox.fr/files/index. ... L/download

Image
I've uploaded the files to the web site.

For minor updates, I would recommend that you post the latest files here on the forum, and I upload the files to the web site when there is a more major change to the translation file.
paulwoman
Translation Contributor
Translation Contributor
Posts: 774
Joined: Tue May 24, 2016 4:22 pm
Has thanked: 5 times
Been thanked: 2 times

Re: Problem with the "t_game" file

Post by paulwoman »

Thanks. Iwill then use the 1st post on http://www.capitalism2.com/forum/viewto ... =22&t=7594 to notify minor changes, and put a new one when there are big changes.
User avatar
David
Community and Marketing Manager at Enlight
Posts: 9383
Joined: Sat Jul 03, 2010 1:42 pm
Has thanked: 21 times
Been thanked: 53 times

Re: Problem with the "t_game" file

Post by David »

3)Problem when translating the menu, the shortcut key no longer turns red.
The programmer told me that he will try to implement this in v6.5.00.
User avatar
David
Community and Marketing Manager at Enlight
Posts: 9383
Joined: Sat Jul 03, 2010 1:42 pm
Has thanked: 21 times
Been thanked: 53 times

Re: Problem with the "t_game" file

Post by David »

3)Problem when translating the menu, the shortcut key no longer turns red.
The programmer told me that he will implement this in v6.5.00.
paulwoman
Translation Contributor
Translation Contributor
Posts: 774
Joined: Tue May 24, 2016 4:22 pm
Has thanked: 5 times
Been thanked: 2 times

Re: Problem with the "t_game" file

Post by paulwoman »

Here, it is a part present in t_game,

in the line
[1139]<0294>Borrow|
[1140]<0295>Repay|
and
[0707]<FBK6>Borrow|
[0708]<FBK7>Repay|


Image

I would like to see buttons like this - the blue part gets longer depending on the translation and the numbers move.
paulwoman
Translation Contributor
Translation Contributor
Posts: 774
Joined: Tue May 24, 2016 4:22 pm
Has thanked: 5 times
Been thanked: 2 times

Re: Problem with the "t_game" file

Post by paulwoman »

There is alway "subgoal" in the goal windows.

Also, when I save a game while there is the translated t_game, if I remove it, there are always the objectives in French, whereas they should be in English when I restart the game.

And here is a printscreen with a new game with the translate files

all translate.png
all translate.png (1.65 MiB) Viewed 3667 times
When I reload a game with an older translation
alll.png
alll.png (1.69 MiB) Viewed 3667 times
And there is what happened when I remove them.

Please note there was "Constuit" when I saved, and we can see "Constuire" only with a new game.
Attachments
without.png
without.png (1.63 MiB) Viewed 3667 times
User avatar
David
Community and Marketing Manager at Enlight
Posts: 9383
Joined: Sat Jul 03, 2010 1:42 pm
Has thanked: 21 times
Been thanked: 53 times

Re: Problem with the "t_game" file

Post by David »

It is because the translated text is embedded in the savegame files.
paulwoman
Translation Contributor
Translation Contributor
Posts: 774
Joined: Tue May 24, 2016 4:22 pm
Has thanked: 5 times
Been thanked: 2 times

Re: Problem with the "t_game" file

Post by paulwoman »

David wrote: Wed Jul 15, 2020 8:38 am It is because the translated text is embedded in the savegame files.
Thanks for the information :)
paulwoman
Translation Contributor
Translation Contributor
Posts: 774
Joined: Tue May 24, 2016 4:22 pm
Has thanked: 5 times
Been thanked: 2 times

Re: Problem with the "t_game" file

Post by paulwoman »

In the sentence "Ferme (..) d' opération
Sans titre.png
Sans titre.png (153.6 KiB) Viewed 3598 times
There is a space between the "d' " and " operation"


however, I didn't put any in the file, nor in the other places where the word is found

[2176]<1097> d’opération.|
Post Reply