Version 10 (modified by 12 years ago) ( diff ) | ,
---|
Pootle
Table of Contents
Pootle is used to allow translators to collaborate on both doing the initial translation & refining it once 'completed'.
Installation
http://docs.translatehouse.org/projects/pootle/en/stable-2.5.0/server/installation.html
Assuming a base Debian stable (6.x):
apt-get install -y bzip2 less unzip apt-get install -y libapache2-mod-wsgi apt-get install -y mysql-server python-mysqldb phpmyadmin mytop apt-get install -y python-setuptools apt-get install -y iso-codes apt-get install -y gcc python-dev wget http://downloads.sourceforge.net/project/translate/python-Levenshtein/0.10.1/python-Levenshtein-0.10.1.tar.bz2 tar jxvf python-Levenshtein-0.10.1.tar.bz2 cd python-Levenshtein-0.10.1 python setup.py install cd .. wget ftp://ftp.tummy.com/pub/python-memcached/python-memcached-latest.tar.gz tar zxvf python-memcached-1.51.tar.gz cd python-memcached-1.51 python setup.py install cd .. wget http://downloads.sourceforge.net/project/translate/Translate%20Toolkit/1.10.0/translate-toolkit-1.10.0.tar.bz2 tar jxvf translate-toolkit-1.10.0.tar.bz2 cd translate-toolkit-1.10.0 python setup.py install cd .. wget --no-check-certificate -O Django-1.4.5.tar.gz https://www.djangoproject.com/download/1.4.5/tarball/ tar zxvf Django-1.4.5.tar.gz cd Django-1.4.5 python setup.py install cd .. # @ToDo: https://lucene.apache.org/pylucene/
http://docs.translatehouse.org/projects/pootle/en/stable-2.5.0/server/web.html#apache-with-mod-wsgi
Usage
See UserGuidelines/Localisation#A.UsingPootle
Maintenance
When adding languages, use this resource to configure them properly:
The script that Fran used to use to update files between Bzr & Pootle is:
If the script fails, check for the presence of a ` in a T("") - this causes the languages.py to reset the languages/* to default &/or stop web2py2po from working!
ToDo
- Link to the s3translate module within Sahana
- Unfortunately it doesn't seem that we can easily automate the upload back to Pootle:
Attachments (6)
-
default
(3.2 KB
) - added by 5 years ago.
nginx sites-available
-
pootle.conf
(7.3 KB
) - added by 5 years ago.
Change SECRET_KEY & PASSWORD
-
rqworker
(3.9 KB
) - added by 5 years ago.
init.d
- uwsgi.ini (334 bytes ) - added by 5 years ago.
-
uwsgi-pootle
(4.0 KB
) - added by 5 years ago.
init.d
- wsgihandler.py (1.4 KB ) - added by 5 years ago.
Download all attachments as: .zip