Skip to main content

ConsoleLanguagePack

A language pack: every word the console says, in one language, as the file a translator made. The same document is exported, imported and stored. The console's language only; what the station broadcasts in is the stream.language setting

Attributes (7)
AttributeTypeRequiredDescription
format'deadair.console-language'YesSays the file is a console language pack
versionnumberYesThe version of the document's shape. This station reads version 1
localestringYesThe language, as a BCP 47 tag such as de or pt-BR. Never English, which is built into the console
namestringYesThe language's name in itself, as the console's picker shows it: Deutsch, not German
direction'ltr' | 'rtl'YesWhich way its text runs
madeForstringYesThe console version the pack was translated against. Empty when the file did not say
catalogRecord<string, unknown>YesThe strings, nested by namespace and then by key, in the English catalog's shape. Every value is text or a further level of nesting