Posting in this forum as I'm currently only interested to hear if anyone else are experiencing the same issue.
My mod (auto research) which works fine in 0.14 ends up with "Unknown key" for all localization strings in 0.15.1, and I've so far been unable to figure out why. This happens when the only change to the mod is to replace the "factorio_version" value from "0.14" to "0.15".
I've tried some minor changes, such as replacing "_" with "-" or even removing both "_" and "-" from the localization keys entirely, but to no avail. Peculiar thing is that another mod ("Pushbutton" by justarandomgeek) does not display the same issue, even though our setups are as far as I can tell practically identical.
Anyone else experiencing this?
Localization issues ("Unknown key") with 0.15
Re: Localization issues ("Unknown key") with 0.15
I'm having the same problem. My locale paths are identical to base, no idea what changed.
My Mods: mods.factorio.com
Re: Localization issues ("Unknown key") with 0.15
I see you made a couple mods. If you could link to one where you're experiencing this issue, then we can compare with auto research (source) and see if there's a pattern to what's causing it. As I mentioned, the Pushbutton mod does not display this issue, and the only difference I see from auto research is less use of "_" and "-" in localization keys (although I already briefly tested removing these, but my testing may have been inadequate).Optera wrote:I'm having the same problem. My locale paths are identical to base, no idea what changed.
There's one thing I haven't tested, though: I installed Pushbutton without ever having it installed before. Could there be some caching issues somewhere?
Re: Localization issues ("Unknown key") with 0.15
I figured it out. 0.15 no longer trims strings from whitespaces.
now has to be
Code: Select all
wooden-chest = Wooden chest
Code: Select all
wooden-chest=Wooden chest
My Mods: mods.factorio.com
Re: Localization issues ("Unknown key") with 0.15
That's... interesting. Good find, though!Optera wrote:I figured it out. 0.15 no longer trims strings from whitespaces.now has to beCode: Select all
wooden-chest = Wooden chest
Code: Select all
wooden-chest=Wooden chest
-
- Smart Inserter
- Posts: 2768
- Joined: Tue Apr 25, 2017 2:01 pm
- Contact:
Re: Localization issues ("Unknown key") with 0.15
Glad I found this. Was attempting to update some old 0.14 mods for personal use in 0.15 that the authors' did not appear to be updating and was running into the same trouble!
My Mods: Classic Factorio Basic Oil Processing | Sulfur Production from Oils | Wood to Oil Processing | Infinite Resources - Normal Yield | Tree Saplings (Redux) | Alien Biomes Tweaked | Restrictions on Artificial Tiles | New Gear Girl & HR Graphics