qt-desktop-translate
qt-desktop-translate allows translating .desktop files using .ts files from Qt.
Installation
Install qt-desktop-translate with pip
pip install qt-desktop-translate
Create translations
To create translations, use desktop-lupdate
desktop-lupdate your_desktop_file.desktop your_ts_file.ts
This will add the fields from the .desktop file to the .ts file. Now you can use Qt Linguist or any other tool, that allows translating .ts files. Call desktop-lupdate everytime after you've ran the normal lupdate. You can specify a folder instead of a single .ts file.
Apply translations
To apply translations, use desktop-lrelease
desktop-lrelease your_desktop_file.desktop output.desktop your_ts_file.ts
This will translate desktop-lupdate your_desktop_file.desktop using the translations from your_ts_file.ts. The output will be written into output.desktop. You can specify a folder instead of a single .ts file.
Metadata
Release files for qt-desktop-translate 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 | Provenance | Actions |
|---|---|---|---|---|
| qt-desktop-translate-1.1.tar.gz | 4.1 kB | Without provenance | Details for qt-desktop-translate-1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| qt_desktop_translate-1.1-py3-none-any.whl | Python 3 | none | any | Details for qt_desktop_translate-1.1-py3-none-any.whl |
Total release size: 9.2 kB
Release files / qt-desktop-translate-1.1.tar.gz
| Download URL | qt-desktop-translate-1.1.tar.gz |
|---|---|
| Size | 4.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ddfd28230e894ef7078583e4324620a66c5af5807255218d8ed3494025a6106d
|
|
BLAKE2b-256 checksum How to use checksums |
a7cb76eb9bdd2c3b0d5cf45082d671061fc83da3544c45c34e9cb4278d57e42e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.5
|
Release files / qt_desktop_translate-1.1-py3-none-any.whl
| Download URL | qt_desktop_translate-1.1-py3-none-any.whl |
|---|---|
| Size | 5.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e952c176d1a8435b56a3eca3b571034c0109b397a0bd5adbf5163a77f81fb543
|
|
BLAKE2b-256 checksum How to use checksums |
bc5f285cb01c877f84e05863bb573e03b56cb48c0c1b1c34a232c5120dc16673
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.5
|
Security for qt-desktop-translate 1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.