The International Simutrans Forum

Development => Translation and Help Texts => Topic started by: ninjum on July 12, 2023, 09:37:05 AM

Title: How to start the translation of a new language?
Post by: ninjum on July 12, 2023, 09:37:05 AM
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.
Title: Re: How to start the translation of a new language?
Post by: Andarix on July 14, 2023, 01:19:09 PM
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
Title: Re: How to start the translation of a new language?
Post by: Leartin on July 15, 2023, 04:34:59 PM
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 ;)