I created a locale structure in data-updates.lua:
Code: Select all
loco.localised_description = {"?", {'template.mu-description',{"entity-description."..name}}, {'template.mu-description',{"item-description."..name}}, {'template.plain-mu-description'}}
I then created a different locale structure based on the example in the forum post:
Code: Select all
loco.localised_description = {"?", {"",{'template.mu-description'},{"entity-description."..name}}, {"",{'template.mu-description'},{"item-description."..name}}, {'template.plain-mu-description'}}
Therefore, it seems the fallback group logic is only checking for existence of the template locale string, and not the entries that should be substituted into it. Or is there a different syntax that should be used?
Edit: In my application, I could do what I wanted by converting it to just concatenation. But it could be a problem in other situations.