Django Google Translate
Google Translate provides easy way to add google translate plugin in your django templates. If your project needs to have multiple languages and if you dont want to manage .po files then you can add this package to make your website available in multiple languages easily without any hassle.
Quick start
Download the package:
pip install django-google-translate
Add “google_translate” to your INSTALLED_APPS setting like this:
INSTALLED_APPS = [ ... 'google_translate', ]Load the translate tag in your template (ideally on base.html):
{% load google_translate %}Add following template tag wherever you want to show translate button:
{% google_translate %}You can also pass type and default language in the translate button type in the inclusion tag (OPTIONAL):
{% google_translate type='vertical' language='en' %}
Available values for the type are “horizontal”, “vertical” and “simple” (default) and for language you can pass any ISO language code
Metadata
Release files for django-google-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 |
|---|---|---|---|---|
| django-google-translate-1.1.tar.gz | 4.0 kB | Without provenance | Details for django-google-translate-1.1.tar.gz |
Release files / django-google-translate-1.1.tar.gz
| Download URL | django-google-translate-1.1.tar.gz |
|---|---|
| Size | 4.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
139f4b2f6809789847543c1cb940374fa61d676506ecce0eab7919446cc9c0b6
|
|
BLAKE2b-256 checksum How to use checksums |
292128b8ae377c99886e9aae6fc73dbe08bc8a745b945a52399e8f06b5d3b4c3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3
|
Security for django-google-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.