Skip to main content

> 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

Metadata

Release files for non-latin-locales 1.0.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for non-latin-locales 1.0.5
File Size Uploaded
non_latin_locales-1.0.5.tar.gz 5.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for non-latin-locales 1.0.5
File Interpreter ABI Platform
non_latin_locales-1.0.5-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 9.9 kB

Release files / non_latin_locales-1.0.5.tar.gz

Download URL non_latin_locales-1.0.5.tar.gz
Size 5.2 kB
Tags Source
SHA-256 checksum
How to use checksums
8e1497a30e5f438959322a8dcbc75aaeb29923ddf96b0d71051ec7aba709e984
BLAKE2b-256 checksum
How to use checksums
e3208fad987505347f9605987ab6f2139775e42d3cab7f8e76958fa18e282ccb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.2

Release files / non_latin_locales-1.0.5-py2.py3-none-any.whl

Download URL non_latin_locales-1.0.5-py2.py3-none-any.whl
Size 4.7 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
c7cdda052000be4fe0243ce3137872ba66d865771e50cac7be5c1d476ce37cb6
BLAKE2b-256 checksum
How to use checksums
7f3c0fab4ccbbf68a1eb915995ff7a097d60bcaa7f51472e26578d2254f0f2d2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.2

Release history Release notifications | RSS feed

This release

1.0.5 This release

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page