<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<mods>
<mod>core_1.0.0</mod>
<mod>WoodenSteel</mod>
</mods>
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<mods>
<mod>core_1.0.0</mod>
<mod>WoodenSteel.Collection</mod>
<mod>WoodenSteel.Fillet</mod>
</mods>
QuoteI also see that there are many "(Unused)" lines.Yes, these should be ignored. For reference you can always check whether there is a translation in the corresponding Russian TXT file.
I thought about ignoring these as well, but I'm not sure.
Quote from: ai_enabled on November 26, 2023, 12:39:51 PM
Yes, you're right. I totally forgot about this!
The English TXT files are present only for the extracted text from the JavaScript files (as they don't contain the actual English text and always it from the TXT files, either English or any other translation which is available).
E.g. if you navigate to "core\data\crates\localization" you will not find the TXT localization files for English as the XML files already contain the English text.
Our official localization tool is not only loading the available TXT files but also parsing the XML files. The XML files directly contain the English text so it was never extracted to TXT files (unlike JavaScript files). For us there was no point in extracting the English text from XML as this will only cause text duplication. We kept things as simple as possible, but it's a problem when you want to create a localization for the game without using our localization tool.
Quote1. How is the language mods folder structured?It's fairly easy. The mod (*.mpk) is a regular ZIP archive (without compression) containing only the files necessary for the localization ("language.***.xml" file plus all the TXT files for this language). The directory structure (file tree) must match the original Core.cpk.
If it is not too complex, perhaps you could have the tool create the mods as well.
Quote2. I am making a Spanish translation for the game, based on the English files, which are 121 files in total (counting language.es_es.xml).Yes, you're right. I totally forgot about this!
However, if I filter the list of files by Russian (ru_ru) it gives a total of 518 files.
This makes me wonder, does the English translation contain all the texts of the game?
Page created in 0.015 seconds with 9 queries.