BetterQuesting icon indicating copy to clipboard operation
BetterQuesting copied to clipboard

Localization troubles

Open genom10 opened this issue 6 years ago • 4 comments

I'm trying to make Russian translation for quests, but when minecraft launches all cyrillic letters in .lang file turns into "?"

genom10 avatar Jun 16 '19 12:06 genom10

If i move variables from .lang files from resources\modpack\lang to .lang files in assets in BetterQuesting.jar it works ok

genom10 avatar Jun 17 '19 08:06 genom10

Hmm... Sounds like I missed UTF8 encoding on the resource loader. Not sure if I can add it right now seeing as I'm in the middle of another major rewrite.

Can you try loading it through a resource pack ZIP either through the resource folder or Minecraft's usual folder.

Funwayguy avatar Jun 17 '19 09:06 Funwayguy

I left only en_us.lang in minecraft\resources\modpack\lang and added a resourcepack with translation. It took me a while to understand how to make resourcepacked .lang be loaded correctly, but now it works.

genom10 avatar Jun 18 '19 07:06 genom10

I left only en_us.lang in minecraft\resources\modpack\lang and added a resourcepack with translation. It took me a while to understand how to make resourcepacked .lang be loaded correctly, but now it works.

Can you pls write down the whole process like a tutorial?

JuliusLongmind avatar Jul 09 '20 15:07 JuliusLongmind