Pootle is a user-friendly web portal that makes the translation process simpler. It allows online translation, work assignment, gives statistics and allows easy volunteer contribution.
Please, take a look to the Quick Start Guide to know the basic use of this Stack.
How to start/stop the servers?
The Stacks include a graphical tool to manage the servers easily. You can find the "manager-windows.exe", "manager-osx" or "manager-linux" tool in your installation directory. Using this tool, you can Start, Stop or Restart the servers and check the log files. You can click on the icon to start it.
On Windows: You can also start the Manager tool from shortcuts: Start -> Program Files -> BitNami Stack -> Manager tool
If you prefer, you can use the "ctlscript.sh" utility from the command line. This script is in the installation directory.
On OS X: You can start the Manager tool from the installation directory or you can use the "ctlscript.sh" utility from a Terminal.
host:~ user$ cd /Applications/application-version host:~ user$ ./ctlscript.sh start
$ cd ~/applicaton-version $ ./ctlscript.sh start
How to change the default URL?
Stop the servers
/installdir/apps/pootle/conf/pootle.confto point to
WSGIScriptAlias / "/opt/bitnami/apps/pootle/scripts/pootle.wsgi" Alias /html "/opt/bitnami/apps/pootle/share/pootle/html" Alias /export "/opt/bitnami/apps/pootle/var/lib/pootle/po"
Start the servers
How to configure the email settings of Pootle?
You just need to edit the settings file in:
Uncomment the EMAIL parameters and set the values for your SMPT settings.
#Mail settings # Address used for messages sent by Pootle. DEFAULT_FROM_EMAIL = 'USER@YOUR_DOMAIN.com' # Mail server settings # By default Pootle uses SMTP server on localhost, if the server is # not configured for sending emails use these settings to setup an # external outgoing SMTP server. # Example for Google as an external SMTP server EMAIL_HOST_USER = 'USER@YOUR_DOMAIN.com' EMAIL_HOST_PASSWORD = 'YOUR_PASSWORD' EMAIL_HOST = 'smtp.gmail.com' EMAIL_PORT = 587 EMAIL_USE_TLS = True
How can I enable user registration?
After the installation although your application will be up and running, external users will not be able to register. You will need to configure the email settings (see above).
How to enable SSL?
You can see how to configure Apache to enable SSL connections at How to enable SSL to access through https?
How to use Pootle administration commands?
You can use Pootle administration commands through django-admin.py but you need to specify Pootle path and Pootle settings. An example to use the command refresh_stats could be:
/your_installdir/python/bin/python /your_installdir/apps/django/bin/django-admin.py refresh_stats --settings=pootle.settings --pythonpath=/your_installdir/apps/pootle/lib/
If you are using the Virtual Appliance or the AMI, the installdir is /opt/bitnami.
How to install Xapian to enable search feature?
Xapian is an Open Source Search Engine Library, released under the GPL. If this module is not in your Stack, you can install it manually. These are the steps to install it in an Ubuntu machine.
### Get the latest sources ### $ wget http://oligarchy.co.uk/xapian/1.2.12/xapian-core-1.2.12.tar.gz $ wget http://oligarchy.co.uk/xapian/1.2.12/xapian-bindings-1.2.12.tar.gz $ sudo su ### Install dependencies ### $ apt-get update $ apt-get install gcc g++ make $ apt-get instal uuid-dev ### Load the BitNami environment ### (notice the space between the dot and the path to the script) $ . /opt/bitnami/scripts/setenv.sh $ export LDFLAGS=-L/opt/bitnami/common/lib $ export CPPFLAGS=-I/opt/bitnami/common/include ### Compile xapian-core and xapian-bindings ### $ cd xapian-core-1.2.12 $ ./configure --prefix=/opt/bitnami/common $ make $ make install $ cd ../xapian-bindings-1.2.12 $ ./configure --prefix=/opt/bitnami/common --with-python $ make $ make install ### Restart your servers #### $ /opt/bitnami/ctlscript.sh restart