Expand description
Validate .yml localization files
StructsΒ§
- Language
Iter - An iterator over the variants of Language
- Languages
- Loca
Entry - One parsed key: value line from the localization values.
- Localization
- Database of all loaded localization keys and their values, for all supported languages.
EnumsΒ§
- Language
- List of languages that are supported by the game engine.
- Loca
Value - Macro
Value
ConstantsΒ§
- LATIN_
SCRIPT_ πLANGS - These are the languages in which itβs reasonable to present an ascii name unchanged.
StaticsΒ§
FunctionsΒ§
- get_
file_ πlang - is_
builtin_ πmacro - List of known built-in keys used between
$...$in any localization. This list is used to avoid reporting false positives. - is_
replace_ πpath - Itβs been tested that localization/replace/english and localization/english/replace both work
- normal_
capitalization_ πfor_ name - Check that the string only has capital letters at the start or after a space or hyphen
- only_
latin_ πscript - Return true iff
langsonly contains languages in which itβs reasonable to present an ascii name unchanged.