Skip to main content

> latin-locales

ISO 639-1 (2-letter) codes for Latin locales that don't require advanced Unicode support.

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

Installation

pip install latin-locales

Usage

import latin_locales

print(latin_locales)
# => ['aa', 'ae', 'af', 'ak', 'an', 'ay', 'bi', 'bm', 'br', ...]

Note: Most type checkers will falsely warn 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

🇨🇳 non-latin-locales - ISO 639-1 (2-letter) codes for non-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

latin_locales-1.0.4.tar.gz (5.3 kB view details)

Uploaded Source

Built Distribution

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

latin_locales-1.0.4-py2.py3-none-any.whl (4.7 kB view details)

Uploaded Python 2Python 3

File details

Details for the file latin_locales-1.0.4.tar.gz.

File metadata

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

File hashes

Hashes for latin_locales-1.0.4.tar.gz
Algorithm Hash digest
SHA256 96ee25c1fae87f8008f2ca067e56bc6c479505faadea4fd3f9e2de4277ba3a58
MD5 764ccd6b9fdc598f27ee360d66eae9cc
BLAKE2b-256 1aa61c0ee590494170582a4c720ff766a5865f2d520f327c4b162edcaaa5e512

See more details on using hashes here.

File details

Details for the file latin_locales-1.0.4-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for latin_locales-1.0.4-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 0b12144ccc56330a0da94bf27ead19165bf6254079151afe0fb8e5f2bc5b76d0
MD5 f18d6b5617a2ff5d45a016811f8f2278
BLAKE2b-256 1cd815d8bdf931653c00cf78896f99b2c46109a42273a7c0d38459d3c9b1d316

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.0.4 This release

2 files

1.0.3

2 files

1.0.2

2 files

1.0.1

2 files

1.0.0

2 files

Supported by

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