Localization not found
Posted: Thu Nov 30, 2023 2:47 am
I'm trying to localize my little mod.
Mod structure:
This is in my en.cfg:
But my code, which accesses this as:
I see in my game "Unknown key: hls-qol.limit-set".
So, can you not use custom category names (naming it after my mod seemed to make sense) or is there something else I'm missing in terms of setup?
Mod structure:
Code: Select all
├── control.lua
├── info.json
└── locale
└── en
└── en.cfg
Code: Select all
[hls-qol]
filter-added=Filter: __1__
limit-set=__1__ < __2__
Code: Select all
player.create_local_flying_text({text = {"hls-qol.limit-set", recipe.localised_name, new_target}, position = inserter.position})
So, can you not use custom category names (naming it after my mod seemed to make sense) or is there something else I'm missing in terms of setup?