Skip to main content

ISO 639-1 (2-letter) codes for non-Latin locales requiring advanced Unicode support

Project description

> non-latin-locales

ISO 639-1 (2-letter) codes for non-Latin locales requiring advanced Unicode support.

It's just a JSON file, so you can use it in any environment.

Installation

pip install non-latin-locales

Usage

import 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.

MIT License

Copyright © 2026 Adam Lui

Related

🇪🇸 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.

More Python utilities / Discuss / Report bug / Report vulnerability

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

non_latin_locales-1.0.5.tar.gz (5.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

non_latin_locales-1.0.5-py2.py3-none-any.whl (4.7 kB view details)

Uploaded Python 2Python 3

File details

Details for the file non_latin_locales-1.0.5.tar.gz.

File metadata

  • Download URL: non_latin_locales-1.0.5.tar.gz
  • Upload date:
  • Size: 5.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.2

File hashes

Hashes for non_latin_locales-1.0.5.tar.gz
Algorithm Hash digest
SHA256 8e1497a30e5f438959322a8dcbc75aaeb29923ddf96b0d71051ec7aba709e984
MD5 90d2912b06c1b7d555fdb9116ba3ce3f
BLAKE2b-256 e3208fad987505347f9605987ab6f2139775e42d3cab7f8e76958fa18e282ccb

See more details on using hashes here.

File details

Details for the file non_latin_locales-1.0.5-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for non_latin_locales-1.0.5-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 c7cdda052000be4fe0243ce3137872ba66d865771e50cac7be5c1d476ce37cb6
MD5 3082b9a8e5784ca8d29f4b2a3cfefa8c
BLAKE2b-256 7f3c0fab4ccbbf68a1eb915995ff7a097d60bcaa7f51472e26578d2254f0f2d2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page