Json-translate

Latest version: v0.4.4

Safety actively analyzes 638437 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 2

0.2.0

Added glossary support

- Added optional argument `source_locale` for setting the source locale as it is required when using a glossary.
- Added optional argument `glossary` for setting the glossary ID to be used when translating.

Contribution made by dotfortun3-code (thanks!)

0.1.0

**json_translate** is a simple command-line interface (CLI) tool written in python and designed to streamline the process of translating JSON files.

Usually multi-language projects developed with a javascript framework (Angular, Vue...) base their translations on json files with different nesting levels. This project allows you to generate new files for other languages while keeping the same structure.

Key Features:

1. DeepL integration.
2. Preservation of JSON structure.
3. Simple and intuitive command line options:
1. `--locale`: Target language to translate the file.
2. `--output`: Output file name.
3. `--sleep`: Sleep time between API calls.
4. `--indent`: Output file indentation spaces.
5. `--encoding`: Input & output file encoding.
6. `--skip`: Keys (words) to skip in the json file (they won't be translated).
7. `--log`: Display translations as they are being translated.

To get started, please refer to the README.md documentation and usage guide available on our project's GitHub repository. Feel free to provide feedback, report issues, or suggest new features—we appreciate your contribution!

Page 2 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.