Jump to content

[1.10.2] [SOLVED] Language keys incorrect under certain conditions


Recommended Posts

Posted (edited)

Hi,

 

I'm wondering why my language keys for my mod are working fine in my test environment and inside of eclipse, but do not work in the modpack FTB Beyond when I copy my jar from

the test environment into FTB Beyonds mods folder.

 

  Quote

tile..justanotherenergy.solar_panel.name
Forge 12.18.3.2297
FTB Beyond

Minecraft 1.10.2

Expand  

 

 

  Quote

tile.justanotherenergy.solar_panel.name
Forge 12.18.3.2297
Test Environment

Minecraft 1.10.2

Expand  

 

  Reveal hidden contents

I mean, how is it possible that such a thing happens with exact the same jar.

(Note: the log does not contain any information of this)

 

Bektor

 

EDIT: Just changing the name in the language file doesn't solve the problem. So adding the second dot in the language file does not solve the problem.

Also there does no second dot occur on those Strings, but they are also not translated correctly.

gui.solar_panel.energy_stored.name
  
I18n.format("gui.solar_panel.energy_stored.name");

 

Edited by Bektor

Developer of Primeval Forest.

Posted
  On 6/3/2017 at 7:58 PM, diesieben07 said:

Does it occur in non-dev Minecraft with just your mod?

Expand  

No. With just my mod (my test environment) everything works just fine.

Thought in the FTB environment to which I copied my mod from the test environment it's also only

my mod having those problems.

Developer of Primeval Forest.

Posted (edited)
  On 6/3/2017 at 9:25 PM, diesieben07 said:

Please describe it here for the future?

Expand  

Well, I forgot to change the en_us to en_US thing while backporting.

Thought I've got totally no idea why it worked everywhere outside of eclipse and inside of eclipse with Forge 1.10.2 while it doesn't with exact the same version using FTB.

Edited by Bektor
grammar fix

Developer of Primeval Forest.

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.