Jump to content

[1.7.2] [10.12.0.991] Problem loading language-localizations


Recommended Posts

Posted

I got a problem when I try to load localized Strings for my items etc. How I do that is I read a specific file, instanciate a java.util.Properties, let that read my mappings and register it with

 

LanguageRegistry#addStringLocalization(properties);

 

As far as I know that works correctly (I debugged) but still after I registered the Strings I get displayed in game are not correctly replaced. Is this a common problem that will be fixed? Anything I'm doing wrong?

Posted

Ok thanks, I guess en_US is used if the mapping doesn't exist for the selected language, right?

Also when will I be able to select languages like I can in normal minecraft? Antime soon? I just want to check if I didn't mistype something etc...

Posted

That's not the problem, the problem is that I can't select any language INGAME. It is not a question of how to add other language mappings but I can't select any other language in the game menu.

 

Also I noticed that the Icons aren't displayed correctly (I register them with registerIcons(IIconRegister par1). The texture seams not to be loaded correctly. EDIT: though the strange thing got fixed I still don't see any icon... I will make a new topic, look here: http://www.minecraftforge.net/forum/index.php/topic,15601.new.html

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.