durgah Posted December 4, 2019 Share Posted December 4, 2019 I am getting ERR Failed Loading Localization, Key not Found Exception the Key Given was not present for various mods that were working in the previous stable release. I did not see any discussion yet about it so is this an easy fix on my side or do i need to wait until the modlets are updated? thanks Link to comment Share on other sites More sharing options...
xyth Posted December 4, 2019 Share Posted December 4, 2019 The header changed, note you need an extra comma after the first field now: Key,UsedInMainMenu,Source,Context,Changes,English,French,German,Klingon,Spanish,Polish Example new line: airConditioner,,blocks,Block,--,Air Conditioner,Climatiseur,Klimaanlage,,Aire acondicionado,Klimatyzator However, if your localization file has the old header as the first line it should load without errors based on my test. That line is: Key,Source,Context,Changes,English,French,German,Klingon,Spanish Link to comment Share on other sites More sharing options...
sphereii Posted December 4, 2019 Share Posted December 4, 2019 You will also need to remove all the Localization - Quests.txt. Those cause problems too. Link to comment Share on other sites More sharing options...
vampirecosmonaut Posted December 5, 2019 Share Posted December 5, 2019 I’m getting localization errors on modlets that do not make changes to localization at all. Just some simple remove property mods in items.xml. I don’t know what to do to fix them yet. Link to comment Share on other sites More sharing options...
sphereii Posted December 5, 2019 Share Posted December 5, 2019 I’m getting localization errors on modlets that do not make changes to localization at all. Just some simple remove property mods in items.xml. I don’t know what to do to fix them yet. I think it may be a cascading error. Do any of the modlets you are using have the quests localization? Link to comment Share on other sites More sharing options...
vampirecosmonaut Posted December 5, 2019 Share Posted December 5, 2019 I think it may be a cascading error. Do any of the modlets you are using have the quests localization? I was just working on it and you are right. It was a cascading error. I added an additional comma to each line in Localization.txt and I copied and pasted my changes to Localization - Quests.txt into the Localization.txt. After adding a comma to those entries as well, everything now works fine. Thanks for the help. I appreciate it. Link to comment Share on other sites More sharing options...
sphereii Posted December 5, 2019 Share Posted December 5, 2019 I was just working on it and you are right. It was a cascading error. I added an additional comma to each line in Localization.txt and I copied and pasted my changes to Localization - Quests.txt into the Localization.txt. After adding a comma to those entries as well, everything now works fine. Thanks for the help. I appreciate it. To save your comma key, you do not need to define the complete header of the Localization, but rather just the columns that you want to add. For example, if you only wanted to specify the key and english, which are the mandatory header, then you'd just add in: Key,English myKey,My English Sentence Justb e sure to consistently match your header to the values you are adding. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.