Skip to main content

Google language support

Project description

google-language-support

A Python package providing comprehensive language code support for Google services.

Installation

pip install google-language-support

Usage

from google_language_support import LanguageCodes

# Access language codes
print(LanguageCodes.ENGLISH)  # "en"
print(LanguageCodes.SPANISH)  # "es"
print(LanguageCodes.CHINESE_SIMPLIFIED)  # "zh-CN"

# Convert to human-readable names
print(LanguageCodes.ENGLISH.to_instruction())  # "English"
print(LanguageCodes.CHINESE_SIMPLIFIED.to_instruction())  # "Chinese, Simplified, China"
print(LanguageCodes.FRENCH_CA.to_instruction())  # "French, Canada"

Features

  • 230+ language codes - Comprehensive coverage of languages supported by Google services
  • Human-readable names - Convert language codes to readable format with to_instruction()
  • Regional variants - Support for region-specific language codes (e.g., zh-CN, fr-CA, pt-BR)
  • Multiple aliases - Some languages have multiple code representations for compatibility

Supported Languages

The package includes language codes for major world languages including:

  • European languages (English, Spanish, French, German, etc.)
  • Asian languages (Chinese, Japanese, Korean, Hindi, etc.)
  • African languages (Swahili, Yoruba, Amharic, etc.)
  • Indigenous and regional languages (Quechua, Cherokee, Hawaiian, etc.)

License

MIT License

Project details


Download files

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

Source Distribution

google_language_support-0.1.0.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

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

google_language_support-0.1.0-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

Details for the file google_language_support-0.1.0.tar.gz.

File metadata

  • Download URL: google_language_support-0.1.0.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.11.13 Darwin/24.5.0

File hashes

Hashes for google_language_support-0.1.0.tar.gz
Algorithm Hash digest
SHA256 f2a68be10ae0d460510a57af9b807025f8d466623aaae448e089090c84720aa7
MD5 1a2f0e6e5a8625d62ea0ed4dfd864e75
BLAKE2b-256 66ec67f930553db0a8593bacd916b6208ffa427d1f40418f4fde0dfc2e46d90d

See more details on using hashes here.

File details

Details for the file google_language_support-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for google_language_support-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cc77309141bdfd4439c56f913be476167ad9341b56899664e03324abfc87555d
MD5 09eb4181e49c39e56102355fdb4def74
BLAKE2b-256 644ab0e04080c75cd180ff1b17143740c526a41b4bb4ac10fdc90f68ff4d4085

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