Issue with localization
LotP1 opened this issue · 3 comments
MC version: 1.18.2
Mod version: 1.1.0
Issue description:
When using a pc with a non-english localization the resource loader might fail to register some chests, like the andesite chest, as you use a .tolowercase with default localization on line 32 and 34 in SCRegistry.java.
This might convert some letters into non standard ASCII characters, like "I" into "ı" instead of "i", which the register won't allow, which causes the mod to fail to load.
Same issue but I found that, maybe it helps to the mod creator.
https://stackoverflow.com/questions/11063102/using-locales-with-javas-tolowercase-and-touppercase
source: Edivad99/ExtraStorage#13
tr;
Oyunu başlatmadan önce ayarları açıp "starting argumants" olan yere "-Duser.language=en -Duser.country=US" kodunu eklediğimde bende sorunsuz açıldı.
en;
Before starting the game, I opened the settings and added the code "-Duser.language=en -Duser.country=US" to the "starting argumants" and it opened without any problems for me.
Check v1.1.1