Skip to main content

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.

Project details


Download files

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

Source Distribution

django-translation-manager-0.2.10.tar.gz (26.3 kB view details)

Uploaded Source

File details

Details for the file django-translation-manager-0.2.10.tar.gz.

File metadata

File hashes

Hashes for django-translation-manager-0.2.10.tar.gz
Algorithm Hash digest
SHA256 fd00e94b1a1fefdea6918cf74e9662a9a0f509c314ae4d2d0860505e027ed2a7
MD5 a982d30990a7de7d674d647256190979
BLAKE2b-256 4c2c8843ebf3cb5432c2044516e89e41fdf1b9efb87033e5d437843560ed4763

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page