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.2.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.2-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: aqua_translation-0.1.2.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.2.tar.gz
Algorithm Hash digest
SHA256 ac6762e71b8d759e1ed869209a01b036b8d06334aa4403cb880aa4cba7ca1e05
MD5 17c3a17cafef78c49c94ec703ae3c480
BLAKE2b-256 ca4bf76b3c08c3edb237629148420144d0726cb6913384b947ac58c64a3a82c5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aqua_translation-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 21e2fe063174d401cc0866f303958ac582d2ca6b5d1b8f3cebf7cf3f224e29e8
MD5 6c8c7703ba76c1d1888c12471e19127e
BLAKE2b-256 d1fd12974267432e04d1a7234cb2c87d310f0de00f72cbf04005b5dbfbb952e0

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