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.1.tar.gz (5.0 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.1-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: aqua_translation-0.1.1.tar.gz
  • Upload date:
  • Size: 5.0 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.1.tar.gz
Algorithm Hash digest
SHA256 f035dce682083a0168bf44cbe6d118b9153b26eb803c7931945c35000349cc60
MD5 5dac57e14329c56bf9ac8f537b306178
BLAKE2b-256 2249f1b843e42bcdbecaf64306f117719bb9e3041c1a6a490dae432f75a0b15c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aqua_translation-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 107e680c56d7c6b8d6cbf869c2cb0c1d1e77ad83e21863f2c7546a4202d14eec
MD5 1de223e562fa94246b1e85e98321745c
BLAKE2b-256 bfbdf0751f3b5d601582afdb594fb31a70d61b9f8e95e95fe4f02dfb8118b95d

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