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
============
Django Translation Manager is available under Mozilla Public License 2.0
http://choosealicense.com/licenses/mpl-2.0/
Donate
======
.. image:: https://img.shields.io/badge/paypal-donate-yellow.svg
:target: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=PUQZRR48HXXDC
Thank you!
----------
We really appreciate every donation that helps us take Django Translation Manager to the next level.
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
============
Django Translation Manager is available under Mozilla Public License 2.0
http://choosealicense.com/licenses/mpl-2.0/
Donate
======
.. image:: https://img.shields.io/badge/paypal-donate-yellow.svg
:target: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=PUQZRR48HXXDC
Thank you!
----------
We really appreciate every donation that helps us take Django Translation Manager to the next level.
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.3.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | dec2b7afbf07a55e6ce9399023d0f1e8988b5112e6e09cfc0c1de52d9c78074d |
|
MD5 | 0ce99c995a6abd3b7a3ce0192c89779b |
|
BLAKE2b-256 | 5d19a1954894269f55ebc77820df4b3c3681e90844c134373c778a1de2a3523f |