Page 1 of 1

Providing Arabic language

Posted: 06 Jul 2024, 22:05
by iraq super sss
:bq
:bb
Why is there no Arabic language available?
Even the Arabic language is present in the game settings, but it has not been translated into any language, only Arabic numbers are present.
Please solve this problem :(

Re: Providing Arabic language

Posted: 07 Jul 2024, 00:14
by ArthurJ22
You don't need to vote, you can do the translation yourself.

The translations on TheoTown are made by contributors, they are not Google translations, so if you want to contribute to the existence of that language in-game, I invite you to do it.

https://github.com/TheoTown-Team/translations

Keep in mind that first you need a GitHub account.

Remember to read the Readme to understand how the translations work.

You can then fork the repo and start with it.

The base strings.xml file is located on the "values" folder.

Since that language isn't translated yet, you will need to make a folder named values-[ISO 639-1 code] in your case would be values-ar for Arabic, so put the strings.xml file there and start modifying it.

So after that, you just need to edit the file and translate only the content inside the string, not the string name.

For example:

Code: Select all    Reset

<string name="settings_title">Settings</string>
JSON checker
Check
It would be:

Code: Select all    Reset

<string name="settings_title">Ajustes</string>
JSON checker
Check
That example is a Spanish translation.

Once you've translated a significant portion, create a pull request for your forked commit in the main repository of TT. A developer will then review your contribution, and you would have already contributed, keep in mind that if you make a large contribution of translations you can earn a Translator role in Discord and be in the credits in the game as a translator.

You have a channel on Discord - Translations, where u can write in English any questions you have related to this, if not, directly use the magic of Google to learn how GitHub works.

PS, I'm not entirely sure how well Arabic alphabet would work, but testing is the way to confirm.

Good luck.

Re: Providing Arabic language

Posted: 07 Jul 2024, 10:22
by iraq super sss
I cannot create a translation file and I do not know how to solve it
Why don't you create an Arabic language and publish it? Doesn't that sound better?