Page 1 of 1

[0.15] Locale not working

Posted: Thu Apr 27, 2017 4:22 pm
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",
...

Re: [0.15] Locale not working

Posted: Thu Apr 27, 2017 4:23 pm
by Nexela
Remove the spaces surrounding the =

Re: [0.15] Locale not working

Posted: Thu Apr 27, 2017 4:35 pm
by Zaflis
That worked, ty... Would look more readable though with spaces.