Skip to main content

aqua is a python library to manage translations for your program

Project description

aqua

aqua is a python library to manage translations for your program

[!IMPORTANT] Not be confused with aqua

Quick Start

  1. Download aqua package

    $ pip install aqua-translation
    
  2. Import it in your project

    from aqua import *
    
    set_folder('./translations/') # set folder with translation files
    set_language('english') # set current language
    
  3. Create translations folder in your project

  4. Add .aqua files for different languages

    # russian.aqua
    # file name must be same with language name in set_language()
    
    Example = "Пример" # Identifier = "translated text"
    ...
    
  5. And then you can get this text through code

    example_text = Translated('Example') # 'Identifier'
    print(example_text()) # Пример
    
  6. That's it basically...

For more info see docs:

(I'll add that someday)

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

aqua_translation-0.1.0.tar.gz (4.4 kB view details)

Uploaded Source

Built Distribution

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

aqua_translation-0.1.0-py3-none-any.whl (3.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: aqua_translation-0.1.0.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.0

File hashes

Hashes for aqua_translation-0.1.0.tar.gz
Algorithm Hash digest
SHA256 5c0142aa37b6a0f3e6694f47eebc3cb4866f1161018dbdfda02da49e9e0fdf98
MD5 231ec6318f6ca1e9de3048061d41ce88
BLAKE2b-256 eed05276a7f2106cccb8afc7225a8005c667b4aeaf8921135b88411a9df48d92

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aqua_translation-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3e5df261868f6654724396652078524979406c1315025cf56533e3e9fb11fc5e
MD5 7c9701cdef45607179a85fbab277ad9b
BLAKE2b-256 753dfb1bacc6b948ce9dcfbd256ca3a79b08631da6ea67e7f3e286de909888c4

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