Metadata-Version: 2.4
Name: aqua-translation
Version: 0.1.0
Summary: aqua is a python library to manage translations for your program
Project-URL: Homepage, https://github.com/flashy4ever/aqua
Project-URL: Issues, https://github.com/flashy4ever/aqua/issues
Author-email: flashy <flashy4ever@outlook.com>
License-File: LICENSE
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.13.0
Description-Content-Type: text/markdown

<div align="center">
    <h1>aqua</h1>
    aqua is a python library to manage translations for your program
</div>

> [!IMPORTANT]
> Not be confused with [aqua](https://pypi.org/project/aqua)

## Quick Start

1. Download aqua package

    ```shell
    $ pip install aqua-translation
    ```

2. Import it in your project

    ```python
    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

    ```aqua
    # 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

    ```python
    example_text = Translated('Example') # 'Identifier'
    print(example_text()) # Пример
    ```

6. That's it basically...

**For more info see docs**:

 - [english docs](https://github.com/flashy4ever/aqua/blob/master/docs/english.md)

 - [russian docs (Русский)](https://github.com/flashy4ever/aqua/blob/master/docs/russian.md)

(I'll add that someday)
