Interface: StringTableData
A string table asset (.strings, JSON): every key's text per language.
{ "version": 1, "languages": ["en", "fr"],
"strings": { "menu.play": { "en": "Play", "fr": "Jouer" },
"score": { "en": "Score: {value}", "fr": "Score : {value}" } } }
Languages are BCP 47 tags as the browser reports them ('en', 'pt-BR'). {name} in a text is replaced by the matching param (Localization.Get).
Properties
| Property | Type |
|---|---|
languages | string[] |
strings | Record<string, Record<string, string>> |
version | 1 |