Mod articles
-
Customize Locatization of your mod
In \Data\Mods folder your mod should has following structure:
yourmodname
|
+- Data
yourmodname.pak
|
+- Localization
english_xml.pak
german_xml.pak (optional/additional other languages)
changelog.txt
mod.manifest
readme.txt
Content of yourmodname.pak:
Libs
|
+- Localization
localization.xml
In localization.xml:
<localization>
<init>
<entry>text_ui_HUD.xml</entry> <-- vanilla entry unchanged + must be stay here
<entry>text_ui_ingame.xml</entry> ... -
The localization control file \Libs\Localization\localization.xml
is initialized only once.
Or if several mods contain this file, then the mod loaded at the end
overwrites the versions of all previous mods.
---------------------------------------------------------------------------------------------------
Die Lokalisations-Steuerungsdatei \Libs\Localization\localization.xml
wird nur einmal initialisiert.
Oder wenn mehrere Mods diese Datei enthalten, dann
überschreibt die am Schluss geladene Mod die Versionen aller vorherigen Mods....