Localization errors come from theDocumentation Index
Fetch the complete documentation index at: https://docs.kodeflowstudios.com/llms.txt
Use this file to discover all available pages before exploring further.
Localizer API when a language lookup is invalid or when the registered language table is out of sync with the LanguageID enum.
LOC01
GetIDFromCode called with null or empty string.
The ISO code argument was missing. The lookup cannot run without a non-empty key.
Common causes
- A user-facing setting was read before it was initialized.
- A serialized field defaulted to an empty string.
- The caller passed through an unchecked external value.
"en" or "fr".
Thrown by
LOC02
No language registered with the given ISO code. The string was non-empty but no entry inLocalizer.Languages matches that ISO code.
Common causes
- The code is misspelled or uses an unsupported region tag.
- The language exists in the
LanguageIDenum but itsLanguageInfohas a different code. - A language was removed from the registry without updating the call site.
Localizer.Languages for the supported set of codes. Add or correct the entry if the language should be supported.
Thrown by
LOC03
GetIDFromEnglishName called with null or empty string.
The English-name argument was missing. The lookup cannot run without a non-empty key.
Common causes
- A dropdown or settings field was read before being populated.
- The caller forwarded an unchecked external value.
"English" or "French".
Thrown by
LOC04
No language registered with the given English name. The string was non-empty but no entry inLocalizer.Languages matches that English name.
Common causes
- A typo or casing mismatch in the name.
- The language is registered under a different display name.
- The language was removed from the registry.
Localizer.Languages for the exact EnglishName of each registered language and pass a matching string.
Thrown by
LOC05
LanguageID has no matching entry in the Languages dictionary.
A LanguageID enum value was used to look up a language, but Localizer.Languages has no entry for it.
Common causes
- A new value was added to
LanguageIDwithout updatingLocalizer.Languages. - An entry was removed from
Localizer.Languageswhile still referenced elsewhere. - A serialized field holds a
LanguageIDvalue that is no longer registered.
LanguageInfo entry to Localizer.Languages for the enum value. See How To: Add a new language.
Thrown by