Overview

Project website wohlsoft.ru/projects/TheXTech
Instructions for translators

There are two counterparts that can be translated: the game itself, and the game launcher on Android. They has different formats and concepts.

About WebLate components:

  • Android launcher (strings) - There are text lines used in the launcher UI on Android.
  • Android launcher (strings) - There are menu items, combo boxes values, etc. They appear at the settings dialogue of the launcher on Android.
  • Engine General - There are common strings used at the game itself (such as menu items, internal messages, etc.)
  • Engine Assets-specific - There are strings that may different among different games: there are things like character names, in-game item names and titles, etc. The generic variant is being used as a template for other per-game variations of this component.

So, how to translate the game's launcher for Android:

  • Find at project's root the android-project/thextech/src/main/res directory
  • Find the "values-*" directories: every directory contains translation files for every language (right now there are strings.xml and arrays.xml)
  • Use the content of "values" as a reference with the default English translation
  • To add a new language, make the "values-*" directory that will have the identification of the target language, then copy strings.xml and arrays.xml from the "values" directory.

And, how to translate the game itself:

  • At the repository, there are JSON files at the resources/languages directory.
  • Put the content of this directory at the root of assets directory (JSON files should be placed into the lanuguages sub-directory)
  • The translation system will work in only condition when new fonts are presented at the assets directory.
  • If you build the engine in debug mode, you will have an ability to reload translations on the fly by pressing the F5 button (on release builds this feature is unavailable).
  • There re "engine" and "assets" translations: The first one is a general translation for the engine itself and the rest of its stuff. And the "assets" translation contains a lot of game specific terms like character names and titles of the game universe related aspects. So, it will have a different form among different games. However, you can translate the general version which is intended to be used as a reference for the future.
  • During the translation work, pay the major attention on the lenght, in some cases you will need to use shortenings to avoid overlaps or cuting off the text, etc.
Project maintainers User avatar Wohlstand User avatar ds-sloth
Translation license GNU General Public License v3.0 or later
Translation process
  • Translations can be made directly.
  • Translation suggestions can be made.
  • Any authenticated user can contribute.
  • The translation uses monolingual files.
  • The translation base language is editable.
Source code repository https://github.com/TheXTech/TheXTech
Repository branch main
Last remote commit Revert "3DS: draw some BGOs at block layer (#754)" aaa1aa8ee
User avatar ds-sloth authored 5 days ago
Last commit in Weblate Revert "3DS: draw some BGOs at block layer (#754)" aaa1aa8ee
User avatar ds-sloth authored 5 days ago
Weblate repository https://hosted.weblate.org/git/thextech/engine-general/
File mask resources/languages/thextech_*.json
Monolingual base language file resources/languages/thextech_en.json
Translation file Download resources/languages/thextech_it.json
Last change May 6, 2024, 12:07 p.m.
Last author None
5 days ago

String statistics

Strings percent Hosted strings Words percent Hosted words Characters percent Hosted characters
Total 476 987 5,293
Translated 28% 135 28% 283 27% 1,458
Needs editing 1% 1 1% 6 1% 34
Read-only 0% 0 0% 0 0% 0
Failing checks 1% 3 2% 27 2% 155
Strings with suggestions 1% 5 1% 8 1% 33
Untranslated strings 71% 340 70% 698 71% 3,801

Quick numbers

987
Hosted words
476
Hosted strings
28%
Translated
and previous 30 days

Trends of last 30 days

+100%
Hosted words
+100%
Hosted strings
+28%
Translated
+100%
Contributors
User avatar None

Changes committed

Changes committed 5 days ago
User avatar Checkm8Croft

Translation added

6 days ago
User avatar Checkm8Croft

Translation added

6 days ago
User avatar Checkm8Croft

Translation added

6 days ago
User avatar Checkm8Croft

Translation added

6 days ago
User avatar Checkm8Croft

Translation added

6 days ago
User avatar Checkm8Croft

Translation added

6 days ago
User avatar Checkm8Croft

Translation added

6 days ago
User avatar Checkm8Croft

Translation added

6 days ago
User avatar Checkm8Croft

Translation added

6 days ago
Browse all translation changes