Skip to main content

A Django package for managing translation files

Project description

# 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).

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mobetta-0.1.2.tar.gz (21.9 kB view details)

Uploaded Source

Built Distribution

mobetta-0.1.2-py2.py3-none-any.whl (46.5 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file mobetta-0.1.2.tar.gz.

File metadata

  • Download URL: mobetta-0.1.2.tar.gz
  • Upload date:
  • Size: 21.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for mobetta-0.1.2.tar.gz
Algorithm Hash digest
SHA256 08d60b78a02ece9c3c25d9b7c0f43732a9e43e41a37934580cbe7cea3602b633
MD5 f36d66e1d01597b8d1c4e9c16c495d71
BLAKE2b-256 db7c3919671aa6c69fe22c5827cfb66b4473b2083d9a281989a35b3bf2bcb43a

See more details on using hashes here.

File details

Details for the file mobetta-0.1.2-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for mobetta-0.1.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 7d4b1dc214ebd94ac426238cd04f06750d9e0a529a34830af7ff4537642f1fd6
MD5 969cdfd7a7669228bc610ba85697670c
BLAKE2b-256 e9d4ded7a2729d400fabad1b2e1b5137a521c9f334a6b83bc5d833dfbd5d9e48

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page