aqua is a python library to manage translations for your program
Project description
aqua
aqua is a python library to manage translations for your programIMPORTANT
Not be confused with aqua
Quick Start
-
Download aqua package
$ pip install aqua-translation
-
Import it in your project
from aqua import * set_folder('./translations/') # set folder with translation files set_language('english') # set current language
-
Create translations folder in your project
-
Add .aqua files for different languages
# russian.aqua # file name must be same with language name in set_language() Example = "Пример" # Identifier = "translated text" ...
-
And then you can get this text through code
example_text = Translated('Example') # 'Identifier' print(example_text()) # Пример
-
That's it basically...
For more info see docs:
(I'll add that someday)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f035dce682083a0168bf44cbe6d118b9153b26eb803c7931945c35000349cc60
|
|
| MD5 |
5dac57e14329c56bf9ac8f537b306178
|
|
| BLAKE2b-256 |
2249f1b843e42bcdbecaf64306f117719bb9e3041c1a6a490dae432f75a0b15c
|
File details
Details for the file aqua_translation-0.1.1-py3-none-any.whl.
File metadata
- Download URL: aqua_translation-0.1.1-py3-none-any.whl
- Upload date:
- Size: 3.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
107e680c56d7c6b8d6cbf869c2cb0c1d1e77ad83e21863f2c7546a4202d14eec
|
|
| MD5 |
1de223e562fa94246b1e85e98321745c
|
|
| BLAKE2b-256 |
bfbdf0751f3b5d601582afdb594fb31a70d61b9f8e95e95fe4f02dfb8118b95d
|