# Translation app
This app helps translate admin fields using `django-modeltranslation` and `googletrans`
## Installation
`$ pip install mp-trans`
## Setup
1. Add `trans` and `modeltranslation` to the `INSTALLED_APPS` variable of your project’s `settings.py`
2. Set `IS_ADMIN_FIELDS_TRANSLATION_ENABLED` option to `True` in your `settings.py`
3. Add `url(r'^trans/', include('trans.urls')),` to your `urls.py`
## Admin usage
1. Import `TranslationAdmin` class.
```
from trans.admin import `TranslationAdmin`
```
2. Extend your admin class with `TranslationAdmin`
```
class MyModelAdmin(TranslationAdmin):
pass
```
This app helps translate admin fields using `django-modeltranslation` and `googletrans`
## Installation
`$ pip install mp-trans`
## Setup
1. Add `trans` and `modeltranslation` to the `INSTALLED_APPS` variable of your project’s `settings.py`
2. Set `IS_ADMIN_FIELDS_TRANSLATION_ENABLED` option to `True` in your `settings.py`
3. Add `url(r'^trans/', include('trans.urls')),` to your `urls.py`
## Admin usage
1. Import `TranslationAdmin` class.
```
from trans.admin import `TranslationAdmin`
```
2. Extend your admin class with `TranslationAdmin`
```
class MyModelAdmin(TranslationAdmin):
pass
```
Metadata
Release files for django-mp-trans 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 | |
|---|---|---|---|---|
| django-mp-trans-1.1.tar.gz | 3.5 kB | Without provenance | Details |
Release files / django-mp-trans-1.1.tar.gz
| Download URL | django-mp-trans-1.1.tar.gz |
|---|---|
| Size | 3.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fd3ad7ddcdf42c1a09c307e7588137e9647943ba3cd990d21b79a086972f2a53
|
|
BLAKE2b-256 checksum How to use checksums |
e75905329ee7abfe7716e7cbac3d61f7a9befa847f9466476aa5ffc50b2b1a15
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for django-mp-trans 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.