Django app for managing translations from admin
Project description
######
README
######
Install package
===============
* use pip to get the package
::
pip install django-translation-manager==0.2.9
* 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 django-translation-manager==0.2.9
* 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
File details
Details for the file django-translation-manager-0.2.10.tar.gz.
File metadata
- Download URL: django-translation-manager-0.2.10.tar.gz
- Upload date:
- Size: 26.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fd00e94b1a1fefdea6918cf74e9662a9a0f509c314ae4d2d0860505e027ed2a7
|
|
| MD5 |
a982d30990a7de7d674d647256190979
|
|
| BLAKE2b-256 |
4c2c8843ebf3cb5432c2044516e89e41fdf1b9efb87033e5d437843560ed4763
|