XML/Languages/Support

Adding support for different languages in PerMa can be a tedious task. Most of it can be covered in the main XMLs, but some languages will require separate XMLs, these are languages that are not supported by the UTF-8 encoding, such as Russian which requires the windows-1251 encoding.

Translating
Visit the PerMa Translation Table on Google Docs, there are already several languages listed, see if the one you are interested in is already listed, if so you can start adding any missing translations needed. This will allow me, or others, to add the translated strings to the main XML.

If you are interested in helping to add translated strings to the XML, visit the PCaPP GitHub code page where you can add the strings (knowledge of GitHub will help with this).

Translation Projects
Russian - Translation of and. (translation project) Spanish - Translated ESPs.

Null or Empty NPC or Item names
If you use a non-English esp the patcher may display mixed language strings or fail to properly patch items. This can be easily fix: 1. Go to to Skyrim.ini and under [General] put sLanguage=YOUR LANGUAGE 2. Go to Skyrim\Data\Strings you'll find your string files there (for example named Skyrim_YOUR LANGUAGE.dlstrings), copy all strings, dlstrings and ilstrings from this folder to a different folder. 3. Rename All moved strings names to English (for example rename Skyrim_YOUR LANGUAGE to Skyrim_English) for ALL strings, dlstrings and ilstrings. 4. Move the renamed strings back into your Skyrim\Data\Strings folder (yes, they contain the same data, its only renamed, I know this, you know this, but SkyProc doesn't :)) 5. Some mods and DLC have their strings packed in a bsa, you will need to unpack the strings to rename them. After renaming the unpacked strings put them in the Skyrim\Data\Strings folder with all the rest. 6. Rerun PatchusMaximus and force patch on exit

Potions have no duration
1. Make sure you are using the Thief module and 'General Settings.xml' has 'useThief=true' 2. If you use a non-English esp, see the above issue. 3. If you use a sorting mod the xml will not be able to see items correctly.

Adding Support
ENGLISH This is the name of the language to be supported. The ID is case sensitive and should be in all caps.

 Broadsword Broadsword 

The is the string that appears in the XMLs, normally these are all in English. This line is case sensitive, Broadsword is not the same as broadsword and will cause the patcher to fail to make a match. The  is the string that the patcher will write to the patch, this line should be in the intended language. This is not case sensitive and should be properly capitalized per the language.