Metadata-Version: 2.0
Name: mobetta
Version: 0.1.2
Summary: A Django package for managing translation files
Home-page: https://bitbucket.org/maykinmedia/mobetta/overview
Author: Maykin Media, Ben Wadsworth
Author-email: ben@maykinmedia.nl
License: MIT
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Environment :: Web Environment
Classifier: Framework :: Django
Classifier: Framework :: Django :: 1.8
Classifier: Framework :: Django :: 1.9
Classifier: Framework :: Django :: 1.10
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Topic :: Internet :: WWW/HTTP
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
Requires-Dist: Django (>=1.8)
Requires-Dist: polib
Requires-Dist: djangorestframework

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


