Skip to content
Lokalise (https://lokali.se) module for Django
Python Makefile
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lokalise
tests
.coveragerc
.gitignore
.travis.yml
LICENSE
MANIFEST.in
Makefile
README.rst
setup.py
tox.ini

README.rst

Django-Lokalise

Lokalise lets you manage keys and translations of your app, game or website – either on your own or with a team of collaborators. Built for developers, Lokalise offers neat features including inline suggestions, project chat, export webhooks and an API, so you can easily integrate with your projects workflow.

Installation

You can install Django-Lokalise From Pypi:

pip install django-lokalise

Configuration

First you need to add lokalise to your INSTALLED_APPS:

INSTALLED_APPS = [
  # ...
  'lokalise',
]

Than you have to add lokalise.middleware.ReloadTranslationsMiddleware middleware as early as possible

MIDDLEWARE_CLASSES = (
    ...
    'lokalise.middleware.ReloadTranslationsMiddleware',
    ...
)

Add to your urlpatterns:

urlpatterns = [
  url(r'^lokalise/', include('lokalise.urls')),
]

Add webhook at Download section of lokali.se project such as http://example.org/lokalise/hook and use Gettext(.po) format

You can’t perform that action at this time.