Problem with the translate.txt

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
rafaeltodero
Translation Contributor
Translation Contributor
Posts: 161
Joined: Fri Oct 19, 2018 6:58 pm
Has thanked: 17 times
Been thanked: 5 times

Re: Problem with the translate.txt

Post by rafaeltodero »

paulwoman wrote: Tue Jan 18, 2022 1:17 pm
David wrote: Tue Jan 18, 2022 12:49 pm Please provide me with your latest translate.txt containing translations for the above text and I will check it for you.
The problem could "simply" be due to the fact that the sentences were not taken into account; the "beta" column was checked and not in the "bt" column ; we need make another file for those sentences.
Image

It should be noted that we have not yet verified the effects of several trans_*** files.
I had included in the file
Attachments
img1.png
img1.png (10.94 KiB) Viewed 31945 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: Problem with the translate.txt

Post by David »

I tested the trans_beta.txt you provided and noticed that the game displayed the translated text correctly.
Attachments
trans1.jpg
trans1.jpg (131.96 KiB) Viewed 31936 times
trans2.jpg
trans2.jpg (129.58 KiB) Viewed 31936 times
rafaeltodero
Translation Contributor
Translation Contributor
Posts: 161
Joined: Fri Oct 19, 2018 6:58 pm
Has thanked: 17 times
Been thanked: 5 times

Re: Problem with the translate.txt

Post by rafaeltodero »

David wrote: Wed Jan 19, 2022 5:35 am I tested the trans_beta.txt you provided and noticed that the game displayed the translated text correctly.
weird, i'll try it again. In the beta version here did not work. The trans_beta file has to be inside the LANGUAGE folder correct?
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 translate.txt

Post by paulwoman »

rafaeltodero wrote: Wed Jan 19, 2022 11:26 am
David wrote: Wed Jan 19, 2022 5:35 am I tested the trans_beta.txt you provided and noticed that the game displayed the translated text correctly.
weird, i'll try it again. In the beta version here did not work. The trans_beta file has to be inside the LANGUAGE folder correct?
AppData\Local\Capitalism Lab Post-Release Beta\languages\Portuguese\translate
rafaeltodero
Translation Contributor
Translation Contributor
Posts: 161
Joined: Fri Oct 19, 2018 6:58 pm
Has thanked: 17 times
Been thanked: 5 times

Re: Problem with the translate.txt

Post by rafaeltodero »

paulwoman wrote: Wed Jan 19, 2022 5:00 pm
rafaeltodero wrote: Wed Jan 19, 2022 11:26 am
David wrote: Wed Jan 19, 2022 5:35 am I tested the trans_beta.txt you provided and noticed that the game displayed the translated text correctly.
weird, i'll try it again. In the beta version here did not work. The trans_beta file has to be inside the LANGUAGE folder correct?
AppData\Local\Capitalism Lab Post-Release Beta\languages\Portuguese\translate
Thank you very much
rafaeltodero
Translation Contributor
Translation Contributor
Posts: 161
Joined: Fri Oct 19, 2018 6:58 pm
Has thanked: 17 times
Been thanked: 5 times

Re: Problem with the translate.txt

Post by rafaeltodero »

David wrote: Wed Jan 19, 2022 5:35 am I tested the trans_beta.txt you provided and noticed that the game displayed the translated text correctly.
I did the tests last night and the translation worked. Thanks David and Paulwoman, I probably put the files in some other folder.
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 translate.txt

Post by paulwoman »

The length of the translations again seems to be causing a crash in the beta version. I've reduced the number of characters so that it fits in the white box, but the maximum number seems to have dropped significantly.
Attachments
Capture d'écran 2023-09-12 192054.png
Capture d'écran 2023-09-12 192054.png (820.55 KiB) Viewed 30921 times
{E885039D-B9B8-4793-BAE5-9872CF89DA66}.png
{E885039D-B9B8-4793-BAE5-9872CF89DA66}.png (101.04 KiB) Viewed 30921 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: Problem with the translate.txt

Post by David »

The crash is actually due to the translated words of "Customer Traffic Overlay" being too long. I have told the programmer and he will adjust the display position of these words in the next update v9.1.11.
Post Reply