Hi!
Thanks for the mod!
I've encountered a small problem with localization, and I have a request: could you rewrite the code a bit to make it easier?
Specifically, in the entity itself, you can specify this:
eb_entity.localized_name = { "entity-name.eb-entangled-belts", { "entity-name." .. underground_belt.name } }
(or any other name that is suitable for the parameter)
and remove the "localized_name" parameter from the item and recipe, as they will be automatically pulled from the entity.
Then, simply specify the desired name in the locale file, and other localizers can change it to suit their language style.
For example:
[entity-name]
eb-entangled-belts=[virtual-signal=entangled-belts]"__1__"
In my translation file, I additionally specify:
eb-entangled-belts=[virtual-signal=entangled-belts]Isolated "__1__"
And any other localizer can easily change or supplement the translation. This will make the localization task much easier :)