Providing Arabic language

Here we talk about TheoTown in general.

Vote on the demand for an Arabic language if you are Arab

Poll runs till 23 Dec 2026, 22:05

Yes
3
60%
no
2
40%
 
Total votes: 5

User avatar
iraq super sss
Villager
Posts: 13
Joined: 15 Jun 2024, 10:19

Providing Arabic language

#1

Post 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 :(

User avatar
ArthurJ22
Townsman
Posts: 82
Joined: 26 Oct 2020, 06:43

Plugin Creator

Platform

Re: Providing Arabic language

#2

Post 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.

User avatar
iraq super sss
Villager
Posts: 13
Joined: 15 Jun 2024, 10:19

Re: Providing Arabic language

#3

Post 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?

Post Reply Previous topicNext topic

Return to “Game Discussion”