[solved] Reference locale keys from within locale strings

Things that already exist in the current mod API
Post Reply
User avatar
aubergine18
Smart Inserter
Smart Inserter
Posts: 1264
Joined: Fri Jul 22, 2016 8:51 pm
Contact:

[solved] Reference locale keys from within locale strings

Post by aubergine18 »

EDIT: Solved - see: viewtopic.php?p=208239#p208239

As a very primitive example:

Code: Select all

[thing]
secondary-key = hoo
primary-key = woo __thing.secondary-key__
This would be useful for including locale keys defined in other mods within a locale key associated with an entity or item, for example.

See also: viewtopic.php?f=25&t=32775
Better forum search for modders: Enclose your search term in quotes, eg. "font_color" or "custom-input" - it prevents the forum search from splitting on hypens and underscores, resulting in much more accurate results.

Post Reply

Return to “Already exists”