Skip to main content

Django app for managing translations from admin

Project description

######
README
######

install package
===============

* use pip to get the package
::
pip install git+git://github.com/COEXCZ/django-translation-manager.git

* add 'translation_manager' to settings.py: INSTALLED_APPS

* add variables from Translation Manager's defaults.py to your settings.py

* add post_save signal to restart webserver:
::
from translation_manager.signals import post_save as translation_post_save

translation_post_save.connect(restart_server, sender=None)


syncdb
======
use syncdb
::
./manage.py syncdb

or migrate:
::
./manage.py migrate


load strings from po files
==========================
via python shell
::
./manage.py shell

from translation_manager.manager import Manager

m = Manager()
m.load_data_from_po()


add link to translation admin
=============================

this is optional in case you need it
::
{% url admin:translation_manager_translationentry_changelist %}


Known bugs:
===========

If you are using different base site you have to register admin to your site.


License note:
=============


Commercial license is being prepared. Please contact us for details at info@coex.cz.

Project details


Download files

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

Files for django-translation-manager, version 0.2.2
Filename, size File type Python version Upload date Hashes
Filename, size django-translation-manager-0.2.2.tar.gz (8.7 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page