Translation status

392 Strings 0%
556 Words 0%
2,856 Characters 0%

Strings status

Strings Words Characters
392 556 2,856
All strings Browse Translate Zen
392 556 2,856
Unfinished strings Browse Translate Zen
392 556 2,856
Untranslated strings Browse Translate Zen
392 556 2,856
Unfinished strings without suggestions Browse Translate Zen

Other components

Component Translated Unfinished Unfinished words Unfinished characters Untranslated Checks Suggestions Comments
Android launcher (arrays) GPL-3.0-or-later 94% 1 1 7 1 0 0 0
Android launcher (strings) GPL-3.0-or-later 92% 3 135 792 2 0 0 0
Engine General GPL-3.0-or-later 0% 643 1,430 7,769 643 0 0 0

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 (values) - 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.). Pay major attention on the string length, feel free to use shortenings in these strings that may not fit into the UI (you always can verify your translations to ensure everything is correct and clean, the related manual is below).
  • 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.

How to test WebLate-done translations in action?

  • Download translation files of the WebLate project using the Files / Download as ZIP menu item
  • Open the ZIP archive, navigate to the engine-general / resources / languages directory, you should find a pile of JSON files
  • Take translation files of the necessary language (thextech-xx.json and assets-xx.json) and put them into your game pack's languages sub-directory
  • Edit the fresh assets-xx.json and rename playable character names and "stars" term into the context of your game pack if you don't want to see default placeholders like "Char 1", "Char 2", etc. (for example, if it's the game based on the SMBX universe, character names should be Mario, Luigi, Peach, Toad, Link, and stars should remain as "Stars"; and if your game pack is based on the A2XT, then, characters will be Demo, Iris, Kood, Raocow, Sheath, and stars will be "Leeks").
  • Tip: It's highly recommended to use the latest development version of the game as the current state is a representation of the main repository's current state. The set of presented string keys may be different between stable and in-development versions, and therefore some strings may appear not-yet-translated because of string keys mismatch between different versions of the engine.
  • Try to run the game, and switch the language that you want and make sure everything is fine.
  • If you find any incorrectness, then you can quickly find the string in the WebLate and fix it once and forever. You can also tweak the translation file manually via any convenient plain text editor.

Manual translation (out of WebLate)

If you have any troubles to use the WebLate, you also can perform the translation through the manual editing of translation files shipped with the main source code repository and submit your updates back to the main repository via pull-requests.

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 length, in some cases you will need to use shortenings to avoid overlaps or cut offs of the text, etc.
Project maintainers User avatar WohlstandUser avatar ds-sloth
Translation license GNU Lesser 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 menu_main.cpp: load episode info from _meta.ini 2f392f594
User avatar ds-sloth authored 2 days ago
Last commit in Weblate menu_main.cpp: load episode info from _meta.ini 2f392f594
User avatar ds-sloth authored 2 days ago
Weblate repository https://hosted.weblate.org/git/thextech/engine-general/
File mask resources/languages/assets_*.json
Monolingual base language file resources/languages/assets_en.json
Translation file Download resources/languages/assets_uk.json
Last change Nov. 20, 2024, 3:54 a.m.
Last change made by None
Language Ukrainian
Language code uk
Text direction Left to right
Number of speakers 24,018,513
Number of plurals 3
Plural type One/few/many
Plurals One 1, 21, 31, 41, 51, 61, 71, 81, 91, 101, …
Few 2, 3, 4, 22, 23, 24, 32, 33, 34, 42, …
Many 0, 5, 6, 7, 8, 9, 10, 11, 12, 13, …
Plural formula n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2
15 hours ago

String statistics

Strings percent Hosted strings Words percent Hosted words Characters percent Hosted characters
Total 392 556 2,856
Translated 0% 0 0% 0 0% 0
Needs editing 0% 0 0% 0 0% 0
Read-only 0% 0 0% 0 0% 0
Failing checks 0% 0 0% 0 0% 0
Strings with suggestions 0% 0 0% 0 0% 0
Untranslated strings 100% 392 100% 556 100% 2,856

Quick numbers

556
Hosted words
392
Hosted strings
0%
Translated
and previous 30 days

Trends of last 30 days

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

Resource updated

Parsing of the “resources/languages/assets_uk.json” file was enforced. 2 weeks ago
User avatar Wohlstand

Resource updated

Parsing of the “resources/languages/assets_uk.json” file was enforced. 9 months ago
User avatar None

Resource updated

The “resources/languages/assets_en.json” file was changed. a year ago
User avatar LoveBodhi

Source string changed

a year ago
User avatar None

Resource updated

The “resources/languages/assets_en.json” file was changed. a year ago
User avatar LoveBodhi

Source string changed

a year ago
User avatar None

Resource updated

File “resources/languages/assets_uk.json” was added. a year ago
User avatar None

String updated in the repository

 
a year ago
User avatar None

String updated in the repository

 
a year ago
User avatar None

String updated in the repository

 
a year ago
Browse all translation changes