[](https://travis-ci.org/maykinmedia/mobetta)
[](https://codecov.io/gh/maykinmedia/mobetta)
[](https://lintly.com/gh/maykinmedia/mobetta/)
Mobetta is a reusable app to manage translation files in Django.
It's inspired on django-rosetta and sports extra features such as comments on
translations, improved stability and a couple of bugfixes. More features
are planned.
## Installation
Install with pip:
pip install mobetta
Next, hook up mobetta by adding it to installed apps:
```python
# settings.py
INSTALLED_APPS = [
...
'mobetta',
...
]
```
and add it to your root `urls.py`:
```python
# urls.py
from django.conf.urls import include, url
...
import mobetta.urls
urlpatterns = [
...
url(r'^mobetta/', include(mobetta.urls.urlpatterns, 'mobetta', 'mobetta')),
...
]
```
Finally, run `migrate` to create the database tables:
```bash
python manage.py migrate
```
## Usage
Mobetta needs to be aware of your translation files. To discover the files, use
the management command:
python manage.py locate_translation_files
## Notes ##
### How Django loads translation files ###
See the [django docs](https://docs.djangoproject.com/en/stable/topics/i18n/translation/#how-django-discovers-translations).
Metadata
Release files for mobetta 0.1.5
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 |
|---|---|---|---|---|
| mobetta-0.1.5.tar.gz | 22.9 kB | Without provenance | Details for mobetta-0.1.5.tar.gz |
Release files / mobetta-0.1.5.tar.gz
| Download URL | mobetta-0.1.5.tar.gz |
|---|---|
| Size | 22.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
72c91fb1ce0f05ff7b4f83920301ae250ad304ed986177fb5be7e806862b9f26
|
|
BLAKE2b-256 checksum How to use checksums |
3c8a3cc81ffd081c63b7001a80019505559e0b081b50f413d76258605f3f5ec6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for mobetta 0.1.5
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.