CapLab Language Pack Installer Kit

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
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: CapLab Language Pack Installer Kit

Post by David »

The CapLab Language Pack Installer Kit has been updated with a new Windows application icon. Please download it from the same link from the first post of this thread: http://www.capitalism2.com/forum/viewto ... 590#p31884
torajiro
Translation Contributor
Translation Contributor
Posts: 140
Joined: Mon Jul 15, 2019 9:33 am
Has thanked: 1 time

Re: CapLab Language Pack Installer Kit

Post by torajiro »

Supports automatic version identification and post release
I will distribute the improved installer(nsi file).
By using this, you can avoid the problem of applying the new menu screen of ver6.7 to users up to ver6.6.(When the language pack is translating the menu screen)
It also made it possible to add language packs to the post-release version.


・How to use

All you have to do is create a new folder called FILES66 in addition to FILES, create a folder called image in it, and put the png file of the menu screen used up to ver6.6.19 in it.



It also supports post-beta release versions.
If you haven't translated the menu screen and just want to use the features of the post-beta release version, delete lines 68-74 of this nsi file.

Please note that this will also add a step called the release version selection screen.

----

If you can understand the contents of nsi, feel free to edit it.
But it's better not to edit the code I added.

Function diagram
pics.png
pics.png (28.19 KiB) Viewed 4632 times
Last edited by torajiro on Fri Dec 04, 2020 1:49 pm, edited 7 times in total.
paulwoman
Translation Contributor
Translation Contributor
Posts: 774
Joined: Tue May 24, 2016 4:22 pm
Has thanked: 5 times
Been thanked: 2 times

Re: CapLab Language Pack Installer Kit

Post by paulwoman »

torajiro wrote: Fri Dec 04, 2020 4:21 am Supports automatic version identification and post release

I will distribute the improved installer(nsi file).
Thanks for the updates.

Would you please add a nsi for the languages that do not have a translation of the menu ? I don't see what needs to be removed in this case and it will be easier for the future.
68-74.png
68-74.png (4.55 KiB) Viewed 4606 times

I didn't pay attention and I end up with this error message.
beta.png
beta.png (509.12 KiB) Viewed 4606 times
Please note: it is not uncommon to have some changes in the tutorials and scenarios between the release and the beta version.

Also, I propose a different translation depending on the version.

All in all, in the best of all worlds, I would appreciate having an installation :
  • Which allows the automatic installation of the release and beta version.
Thanks for that :)
  • A folder for files common to both versions
  • A folder for the translations of the release version
  • A folder for the translations of the release version
  • A folder for release version images only
  • A folder for beta version images only.
The installer would thus propose :

  • An installation for the release or the beta
  • An installation with or without translated images
  • A different translation depending on the version.
Anyway, thanks for this little extra of being able to choose the "release or beta" version.

You'll just have to tell me which files I have to put for the beta version and the version for the release.
torajiro
Translation Contributor
Translation Contributor
Posts: 140
Joined: Mon Jul 15, 2019 9:33 am
Has thanked: 1 time

Re: CapLab Language Pack Installer Kit

Post by torajiro »

Before I answer, I have one thing to say to you.
You didn't reply to my reply last time, right?
What do you think about me spending 3 or 4 hours each time for your problem?
I'm tired of you.
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: CapLab Language Pack Installer Kit

Post by David »

paulwoman wrote: Fri Dec 04, 2020 9:04 am [*] A folder for release version images only

[*] A folder for beta version images only.

We have prepared a new version 6.7.01 that renamed the following main menu images so that translators can prepare one translation kit that is compatible with the current version and previous versions of CapLab.

image\mm-ex.png -> renamed to -> mm-ex-new.png
image\m-menu.png -> renamed to -> m-menu-new.png

This way, you can put all of the following 4 images in your translation kit and it will work with any versions:
mm-ex.png -> for the previous versions v6.6.x and before
m-menu.png -> for the previous versions v6.6.x and before
mm-ex-new.png -> for the current version v6.7.01
m-menu-new.png -> for the current version v6.7.01

With this change, you can put all the above image files in the same "Image" folder. In other words, you no longer need to have separate folders for the release and beta versions.

You can download the version 6.7.01 from https://www.capitalism2.com/forum/viewt ... =10&t=8042
torajiro
Translation Contributor
Translation Contributor
Posts: 140
Joined: Mon Jul 15, 2019 9:33 am
Has thanked: 1 time

Re: CapLab Language Pack Installer Kit

Post by torajiro »

paulwoman wrote: Fri Dec 04, 2020 9:04 am
Would you please add a nsi for the languages that do not have a translation of the menu ? I don't see what needs to be removed in this case and it will be easier for the future.
This is my mistake, so I uploaded it again.
paulwoman
Translation Contributor
Translation Contributor
Posts: 774
Joined: Tue May 24, 2016 4:22 pm
Has thanked: 5 times
Been thanked: 2 times

Re: CapLab Language Pack Installer Kit

Post by paulwoman »

torajiro wrote: Fri Dec 04, 2020 9:39 am
You didn't reply to my reply last time, right?
Sorry about that. I lost the files that allowed me to translate the document and I didn't take the time to redo the whole operation to update it?

In fact, the "manuals and other" documents in French are still to be translated.

As I have not yet taken into account the change in question, I did not consider it necessary to warn you .
torajiro wrote: Fri Dec 04, 2020 9:39 am

What do you think about me spending 3 or 4 hours each time for your problem?
Thank you again for the time you spent and have spent on the translation of the game and my wishes. I will do my best to make you feel more valued and not feel that I am using you.

Having said that, I stand by my idea: it would be nice if you could offer an English version of all your creations.

I had taken a long time to translate from Japanese and I still remember that I needed time to retrieve the correct transcription.

Of course, this would be useful for my own translation, but don't forget that it could also be useful for others; it is easier for us to translate from English than from Japanese.

Moreover, putting in pdf with images for explanations does not help ...

The ideal is to have the word version with the file type .psd for photoshop or pdn for paint.net which was used as a basis for the photo.

But then, as I said, it's "ideal" for me and it's up to you to take it into account or not....

My apologies again and thank you for everything.
[/quote]
torajiro wrote: Fri Dec 04, 2020 2:03 pm
This is my mistake, so I uploaded it again.
David wrote: Fri Dec 04, 2020 10:29 am
We have prepared a new version 6.7.01 that renamed the following main menu images so that translators can prepare one translation kit that is compatible with the current version and previous versions of CapLab.
Thanks for the update :-)

I just do a new translate with the new script. Everything is fine :)
paulwoman
Translation Contributor
Translation Contributor
Posts: 774
Joined: Tue May 24, 2016 4:22 pm
Has thanked: 5 times
Been thanked: 2 times

Re: CapLab Language Pack Installer Kit

Post by paulwoman »

"New" version of the script of torajiro for the last versions of the games
Attachments
Supports automatic version identification and post release complet.zip
(1.19 KiB) Downloaded 108 times
Post Reply