Describe the bug
If a Language Provider is using LanguageProvider.languages, but an entry does not include a label property for a language, it will not display the name of the language in the Language Settings module.
To Reproduce
Steps to reproduce the behavior:
Load a World with a LanguageProvider that utilizes languages for initialization, but does not have a label: property for its languages.
Click Configure Settings
Click Polyglot
Click Language Settings
Notice blank labels for all languages that do not have a label: property.
Expected behavior
When language.label != true then use language.key for display purposes.
Versions
Foundry: v11.305
Polyglot: v2.0.1
Settings Extender: v1.2.2
Additional context
LanguageProviders that use LanguageProvider.languages but do not use label:
Describe the bug If a Language Provider is using LanguageProvider.languages, but an entry does not include a label property for a language, it will not display the name of the language in the Language Settings module.
To Reproduce Steps to reproduce the behavior:
Expected behavior When language.label != true then use language.key for display purposes.
Versions
Additional context LanguageProviders that use LanguageProvider.languages but do not use label: