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.
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
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.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ac6dadfba9bc069cb627fc389236b9ff585bafdd0ef469e8892ce0b66071ad1b |
|
MD5 | 4636708c15934beae2a17881207d18b5 |
|
BLAKE2b-256 | 82f590c7105c717dfea42349fdbaf848f4f1a1f5b85c823cf404cb4ec7fbe77b |