languages library
Classes
- LanguageInfo
- Language information and validation for ARB translation.
Constants
-
supportedLanguages
→ const Map<
String, LanguageInfo> - Comprehensive list of supported languages with detailed information.
Properties
-
popularLanguageCodes
→ List<
String> -
Gets a list of popular language codes commonly used in mobile apps.
no setter
-
rightToLeftLanguages
→ List<
String> -
Gets languages that use right-to-left writing systems.
no setter
-
supportedLangCodes
→ Set<
String> -
A set of all supported ISO-639 language codes for translation.
no setter
Functions
-
formatLanguageList(
List< String> codes) → List<String> - Formats a list of language codes with their native names.
-
getLanguageInfo(
String code) → LanguageInfo? -
Gets language information for the given
code
. -
suggestLanguageCodes(
String code) → List< String> -
Suggests similar language codes if the given
code
is not found. -
validateLangCode(
String code) → String -
Validates the given
code
as a supported language code.