It's just a JSON file, so you can use it in any environment.
pip install non-latin-localesimport non_latin_locales
print(non_latin_locales)
# => ['ab', 'am', 'ar', 'as', 'av', 'az', 'ba', 'be', 'bg', ...]Note: Most type checkers will falsely warn non_latin_locales is not iterable because they are incapable of analyzing runtime behavior (where the module is replaced w/ a list for cleaner, direct access). You can safely suppress such warnings using # type: ignore.
Copyright © 2026 Adam Lui
🇪🇸 latin-locales - ISO 639-1 (2-letter) codes for Latin locales.
🌍 translate-messages - Translate en/messages.json (chrome.i18n format) to 100+ locales automatically.
🈶 is-unicode-supported - Detect whether the terminal supports advanced Unicode.



