Please sign in to see the alerts.

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 gfx_update2.cpp: do not reset vScreens every frame at world map cfb4d9828
User avatar ds-sloth authored yesterday
Last commit in Weblate gfx_update2.cpp: do not reset vScreens every frame at world map cfb4d9828
User avatar ds-sloth authored yesterday
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
2 weeks ago

String statistics

Strings percent Hosted strings Words percent Hosted words Characters percent Hosted characters
Total 8,092 16,779 89,981
Source 476 987 5,293
Translated 47% 3,836 47% 7,932 47% 42,544
Needs editing 1% 27 1% 93 1% 534
Read-only 0% 0 0% 0 0% 0
Failing checks 1% 16 1% 43 1% 229
Strings with suggestions 1% 8 1% 11 1% 49
Untranslated strings 52% 4,229 52% 8,754 52% 46,903

Quick numbers

16,779
Hosted words
8,092
Hosted strings
47%
Translated
and previous 30 days

Trends of last 30 days

+1%
Hosted words
+100%
+1%
Hosted strings
+100%
+7%
Translated
+39%
−100%
Contributors
+100%
User avatar None

Repository rebased

Repository rebased

Original revision: 0ce0c3dc0f6614938b058b1a8b97ba1c3b0d50ea
New revision: cfb4d98284ae73a4ca90c611a118584c835d16d3 yesterday
User avatar None

Repository notification received

GitHub: https://github.com/TheXTech/TheXTech, main yesterday
User avatar None

Repository rebased

Repository rebased

Original revision: 76441ee6585fed19a404b6c0331bae41286e2eb6
New revision: 0ce0c3dc0f6614938b058b1a8b97ba1c3b0d50ea 2 days ago
User avatar None

Repository notification received

GitHub: https://github.com/TheXTech/TheXTech, main 2 days ago
User avatar None

Repository rebased

Repository rebased

Original revision: 5851fab2a46cde04954b70ff928a795d65785e9a
New revision: 76441ee6585fed19a404b6c0331bae41286e2eb6 2 days ago
User avatar None

Repository notification received

GitHub: https://github.com/TheXTech/TheXTech, main 2 days ago
User avatar None

Repository rebased

Repository rebased

Original revision: 5ad19ccdb4b8130cf878e0edfa53cba3796321d3
New revision: 5851fab2a46cde04954b70ff928a795d65785e9a 2 days ago
User avatar None

Repository notification received

GitHub: https://github.com/TheXTech/TheXTech, main 2 days ago
User avatar None

Repository notification received

GitHub: https://github.com/TheXTech/TheXTech, main 6 days ago
User avatar None

Changes pushed

Changes pushed 6 days ago
Browse all component changes