[0.15] Locale not working

Place to get help with not working mods / modding interface.
Zaflis
Filter Inserter
Filter Inserter
Posts: 520
Joined: Sun Apr 24, 2016 12:51 am
Contact:

[0.15] Locale not working

Post by Zaflis »

I don't understand why locale stopped working for item and tech name. It was fine in 0.14. Can't see what other mods do differently either even though it works in them. What i see in Factorio is
Unknown key:"technology-name.orecompresstech"
Unknown key:"item-name.compressed-copper-ore"
etc...

In \locale\en\locale.cfg :

Code: Select all

[technology-name]
orecompresstech = Ore compression

[technology-description]
orecompresstech = Unlocks the crafting recipes to compress and decompress ores

[item-name]
compressed-copper-ore = Compressed copper ore
compressed-iron-ore = Compressed iron ore
compressed-coal = Compressed coal
compressed-stone = Compressed stone
The prototypes contain identical id names

Code: Select all

data:extend({
	{
		type = "technology",
		name = "orecompresstech",
...
Nexela
Smart Inserter
Smart Inserter
Posts: 1828
Joined: Wed May 25, 2016 11:09 am
Contact:

Re: [0.15] Locale not working

Post by Nexela »

Remove the spaces surrounding the =
Zaflis
Filter Inserter
Filter Inserter
Posts: 520
Joined: Sun Apr 24, 2016 12:51 am
Contact:

Re: [0.15] Locale not working

Post by Zaflis »

That worked, ty... Would look more readable though with spaces.
Post Reply

Return to “Modding help”