Locale problem

Place to get help with not working mods / modding interface.
Post Reply
cpaca
Burner Inserter
Burner Inserter
Posts: 9
Joined: Sat Nov 05, 2016 4:06 pm
Contact:

Locale problem

Post by cpaca »

I believe I have locale set up correctly, but it isn't working. It's returning the error "Unknown key: item.name-Primium-4Item" on the item's name. Game doesn't crash, nothing like that. https://mods.factorio.com/mods/cpaca0/Primium for reference to mod in question. Prerequisite required: https://mods.factorio.com/mods/cpaca0/Easy_API and base 0.15 or further.

daniel34
Global Moderator
Global Moderator
Posts: 2761
Joined: Thu Dec 25, 2014 7:30 am
Contact:

Re: Locale problem

Post by daniel34 »

In your locale file remove the spaces before and after the equals sign (=).
quick links: log file | graphical issues | wiki

cpaca
Burner Inserter
Burner Inserter
Posts: 9
Joined: Sat Nov 05, 2016 4:06 pm
Contact:

Re: Locale problem

Post by cpaca »

Thank you for the help!

credomane
Filter Inserter
Filter Inserter
Posts: 278
Joined: Tue Apr 12, 2016 6:21 pm
Contact:

Re: Locale problem

Post by credomane »

daniel34 wrote:In your locale file remove the spaces before and after the equals sign (=).
....Really!? That is my entire problem!? This has been driving me mad for DAYS now. Scratching my head trying to figure out what in the world is wrong.

0.14.X locales work fine.
0.15.x locales all produce "Unknown Key: whatever"

Knew it was an issue in my mod because other mods worked with locale just fine. For the life of me couldn't figure out what changed besides updating the info.json for locale to suddenly not work at all in my mod.

Thank you so much for this information!

Post Reply

Return to “Modding help”