Translator
Translator is a little, handy tool to manage the language files of a web application using based on paraglide. It uses a connection to DeepL API. In order to use the translator, You need at least a (free) account for the DeepL API. When You start up the translator for the first time, it will ask for the DeepL API access key (See DeepL documentation how to get it)
Usage of translator
After starting the translator app, You choose "OPEN" and select the directory where the language specific JSON files are located (.../messages/en.json, .../messages/de.json etc.). All the files will be read and displayed in a spreadsheet like manner.
JSON input
For preparing the JSON file (which consists of a "key" for the text and the translation), e.g. for german:
{
"$schema": "https://inlang.com/schema/inlang-message-format",
"hello_world": "Hello, {name} from de-ch!",
"unkown_api_error": "Unbekannter API-Fehler ({num})!"
}
If a key is not existing in a file, the corresponding field will be filled with the key as "translated" value. The translation may be entered by hand, or You can choose the base language and perform an automatic translation based ön DeepL.
Saving
Before saving, the "old" files are backuped with a name .XXX.json, where XXX is a number 001, 002, 003, ...
The purge button removes all the backup files (for cleaning up).
Metadata
Release files for paraglidetranslator 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| paraglidetranslator-0.1.1.tar.gz | 88.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| paraglidetranslator-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 177.6 kB
Release files / paraglidetranslator-0.1.1.tar.gz
| Download URL | paraglidetranslator-0.1.1.tar.gz |
|---|---|
| Size | 88.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bc9f2a4821f04338cb4b19b5756e75929c3e2169d84c4cb3088ba386c7449d04
|
|
BLAKE2b-256 checksum How to use checksums |
8c3d392001084c69e8ef67a643ecb96a44d5425bf0d01351146591f1bf5d5d8e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.3 CPython/3.12.11 Darwin/24.6.0
|
Release files / paraglidetranslator-0.1.1-py3-none-any.whl
| Download URL | paraglidetranslator-0.1.1-py3-none-any.whl |
|---|---|
| Size | 89.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
87463d07fdfea3b3b18aecf8093443d4f2714fa658f2005b2c98cfce5ad11f6b
|
|
BLAKE2b-256 checksum How to use checksums |
e6cb8adf2db534e591322701d1254d1953b1211c4c610d0a76fefa330f3e8a63
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.3 CPython/3.12.11 Darwin/24.6.0
|