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 server:
::
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.
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 server:
::
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Close
Hashes for django-translation-manager-0.2.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b34209e0a95c9b3c85963b3bbb2776feac1e0249d373f63101a41ace7e15c807 |
|
MD5 | 22f0d9cd78f59b702b07e98529960bdc |
|
BLAKE2b-256 | f3c401d9e77071d9cbd0edfa4756dc2e0990d511d00f9a86772cf482be01c586 |