Transifex Python Toolkit
Transifex Python Toolkit is a collection of tools that allow you to easily localize your Django and Python applications using Transifex. The toolkit features fetching translations over the air (OTA) to your apps.
This project adheres to the Contributor Covenant code of conduct. To contribute to Transifex Python Toolkit, please check out the contribution guidelines.
Upgrade to v2
If you are upgrading from the 1.x.x version, please read this migration guide, as there are breaking changes in place.
Quick starting guide
- Install toolkit in your code
$ pip install transifex-python - Add a provided TOKEN and SECRET in your config, connecting your application with a Transifex project
- Add internationalization commands in your code
<!-- Django app template example -->
{% load transifex %}
<p>{% t "Hello!" %}</p>
<p>{% t "I want to be translated." %}</p>
# Django view sample
from transifex.native.django import t
output = {
"msg1": t("Welcome aboard!"),
"msg2": t("It's great to have you here!"),
}
return JsonResponse(output)
- Push strings to your connected Transifex project
./manage.py transifex push - When translations are added in your Transifex project are automatically made available
To learn more about using Transifex Python toolkit check:
- Quickstart guide for Django web application
- Quickstart guide for Python application
- For a general overview visit Transifex Native overview
- For some common questions & answers check our Transifex Native community
License
Licensed under Apache License 2.0, see LICENSE file.
Metadata
Release files for transifex-python 3.7.0
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 |
|---|---|---|---|---|
| transifex_python-3.7.0.tar.gz | 137.3 kB | Without provenance | Details for transifex_python-3.7.0.tar.gz |
Release files / transifex_python-3.7.0.tar.gz
| Download URL | transifex_python-3.7.0.tar.gz |
|---|---|
| Size | 137.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
98cafa3726086dc385c651eb8baf20f4a20d5070522a29756651d2a8b2703e2b
|
|
BLAKE2b-256 checksum How to use checksums |
c51484e04ce82f1fab68061336131c93c2e95bee53a7a33fc0c6e655af958a3f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.25
|
Security for transifex-python 3.7.0
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.