Mount & Blade II: Bannerlord

Mount & Blade II: Bannerlord

Bannerlord.XPTweaks
BOЛOCATOE ЯИЧКO  [developer] 7 Nov, 2022 @ 4:26pm
Translation
So I tried adding a translation for settings and it works fine. Example:
  1. added folder RU to .../ModuleData/Languages
  2. added file std_module_strings_xml.xml in that folder with following text I'm pretty sure you can name it any other way as long as you reference it in language_data file
    <?xml version="1.0" encoding="utf-8"?> <base xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" type="string"> <tags> <tag language="Русский" /> </tags> <strings> <string id="ugKrmOzjyPQwg" text="Множитель скорости изучения новых частей в кузнице" /> </strings> </base>
  3. added file language_data.xml in the same folder with following data
    <?xml version="1.0" encoding="utf-8"?> <LanguageData xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:noNamespaceSchemaLocation="https://raw.githubusercontent.com/BUTR/Bannerlord.XmlSchemas/master/ModuleLanguageData.xsd" id="Русский" name="Русский" subtitle_extension="ru" supported_iso="ru,rus,ru-ru,ru-md" under_development="false"> <LanguageFile xml_path="RU/std_module_strings_xml.xml" /> </LanguageData>
Last edited by BOЛOCATOE ЯИЧКO; 7 Nov, 2022 @ 4:29pm