#Anyone familiar with localization

1 messages · Page 1 of 1 (latest)

copper kestrel
#

but with code

maiden crater
#

Yes if you are using a LocalizedString.

#

E.G

#
var locString = new LocalizedString("My String Table", "My Game Text")
{
    { "nested", new LocalizedString("My String Table", "My Nested Text") }
};```
#

or

copper kestrel
#

🤔

maiden crater
#
locString.Add("nested1", new LocalizedString("Nested Value 1", "My Game Text"));
locString.Add("nested2", new LocalizedString("Nested Value 2", "My Game Text"));
locString.Add("nested3", new LocalizedString("Nested Value 3", "My Game Text"));
locString.Add("nested4", new LocalizedString("Nested Value 4", "My Game Text"));
locString.Add("nested5", new LocalizedString("Nested Value 5", "My Game Text"));
locString.Add("nested6", new LocalizedString("Nested Value 6", "My Game Text"));```
#

Then have the main string as {0:c(0|1|2|3|4|5):{nested1}|{nested2}|{nested3}|{nested4}|{nested5}|{nested6}}