News:

Use the "Forum Search"
It may help you to find anything in the forum ;).

How to start the translation of a new language?

Started by ninjum, July 12, 2023, 09:37:05 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ninjum

I wanted to make the translation of the game the Galician language, so I saw they have to register me first how do I request that? And then i could make the translation starting from the one made in Spanish? It would be much easier to do that.

Andarix

A new language can only be created in the translator by the system admin.

This requires:

- Language name (English / in the language itself)
- Language code
- a font file if the previous ones don't cover the language

Leartin

For you to get startet, simply go to your Simutrans installation, open the folder "text", and edit the file "es.tab". Disregarding lines that start with '#', the programs text and it's Spanish translation alternate. Simply rewrite anything Spanish with Galician (but don't touch the programs text or add/delete lines)

If you do that, your translations will show in your game set to Spanish, so you can see whether it works. Make backups of your file ;)


Once the language is set up in the translator, the language file you created this way can be uploaded, which also means that anything you did not touch would get the Spanish translation instead - which isn't ideal since it won't show up in the translator as requiring translation, but from a (galician) players perspective it's probably best to fall back to Spanish. Or perhaps Portuguese?

I recommend not to wait for the game to add the language to start translating - much easier to convince others to do some work once you show you are doing your part ;)