Skip to main content
.. Mobetta documentation master file, created by
sphinx-quickstart on Thu May 18 16:05:12 2017.
You can adapt this file completely to your liking, but it should at least
contain the root `toctree` directive.

=======
Mobetta
=======

.. rubric:: Manage translations in Django projects

.. image:: https://travis-ci.org/maykinmedia/mobetta.svg?branch=master
:target: https://travis-ci.org/maykinmedia/mobetta

.. image:: https://codecov.io/gh/maykinmedia/mobetta/branch/develop/graph/badge.svg
:target: https://codecov.io/gh/maykinmedia/mobetta

.. image:: https://img.shields.io/pypi/v/mobetta.svg
:target: https://pypi.python.org/pypi/mobetta

Mobetta is a reusable app to manage translation files in Django projects.

It's inspired on `django-rosetta`_, but takes a more modern approach to problem
and adds extra features, such as:

* comments on translations
* edit history
* support for `ICU message format`_ with json catalogs

.. toctree::
:maxdepth: 2
:caption: Contents:

installation
usage


.. _quickstart:

Quickstart
==========

Install with pip::

pip install mobetta

Add it to your installed apps::

INSTALLED_APPS = [
...,
'mobetta',
...,
]

Hook up the urls in your root ``urls.py``::

urlpatterns = [
url(r'^admin/', include(admin.site.urls)), # optional
url(r'^admin/mobetta/', include('mobetta.urls', namespace='mobetta')),
...
]

Run migrate to create the necessary database tables::

python manage.py migrate

.. _usage:

Usage
=====

Mobetta discovers your translation files with a management command::

python manage.py locate_translation_files

Open localhost:8000/admin/mobetta/ to manage your translations.


Notes
=====

How Django loads your translation files
---------------------------------------

See the `django translation docs`_


Indices and tables
==================

* :ref:`genindex`
* :ref:`modindex`
* :ref:`search`


.. _django-rosetta: https://github.com/mbi/django-rosetta
.. _django translation docs: https://docs.djangoproject.com/en/stable/topics/i18n/translation/#how-django-discovers-translations
.. _ICU message format: https://formatjs.io/guides/message-syntax/


Metadata

Release files for mobetta 0.3.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mobetta 0.3.1
File Size Uploaded Provenance Actions
mobetta-0.3.1.tar.gz 33.1 kB Without provenance Details for mobetta-0.3.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for mobetta 0.3.1
File Interpreter ABI Platform Actions
mobetta-0.3.1-py2.py3-none-any.whl Python 2, Python 3 none any Details for mobetta-0.3.1-py2.py3-none-any.whl

Total release size: 109.7 kB

Release files / mobetta-0.3.1.tar.gz

Download URL mobetta-0.3.1.tar.gz
Size 33.1 kB
Tags Source
SHA-256 checksum
How to use checksums
b48a9892b257b15f0a6d23cc5ea7968c4fefb5b034420ca62d2c1df5218a6a05
BLAKE2b-256 checksum
How to use checksums
8dd1e851382ef10d5b5eb12906455c02cdd63774cc747eb0eae314402e1e8d61
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.5.0.1 requests/2.12.3 setuptools/30.3.0 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.5.5

Release files / mobetta-0.3.1-py2.py3-none-any.whl

Download URL mobetta-0.3.1-py2.py3-none-any.whl
Size 76.6 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
8161f23cceef63ced9eb429d5b1f7556f0cbd5e7ff597f645cccb7787261babb
BLAKE2b-256 checksum
How to use checksums
741fc43d25fa6217a9c601f2bfab62cdcbf36e797655f3c24770a2d5ca266baa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.5.0.1 requests/2.12.3 setuptools/30.3.0 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.5.5

Security for mobetta 0.3.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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page