Tag Archives: indifex

Last week, I started working on the ticket #789 which reported that there should be support for the xliff files with .xml extension. As it was an easy patch with few edits in the configuration file and tests I submitted the patch to upstream for review and they accepted it. 🙂
After that rtnpro directed /me to work on the ticket #673 which reported that there should be a RSS Feed for the project timeline. As I had already worked with RSS Feed in ASKBOT so I had a prior knowledge about the topic. But I went through the topic once again more deeply and got to a lot more things. It took sometime due the festive season in between but submitted the patch for review as soon as possible and got it accepted.
After that I started off ticket #578 but could not complete it as I found that there was a bug in the /project/add/ page which raised the NoReverseMatch exception so I reported this to rtnpro and started working on it and found some more bugs and a typo and finally resolved it altogether and submitted the patch. I also sent a patch regarding a bug in the Manage tab which was losing it’s selection after the sub menu item was pressed.


What is Transifex?

Transifex is an open source platform for localization. It is a service offering users with an easy-to-use interface to submit translations to various projects hosted on a number of hosting platform types.

What is virtualenv?

virtualenv is a tool to build isolated Python environments. It’s a great way to quickly test new libraries without cluttering your global site-packages or run multiple projects on the same machine which depend on a particular library but not the same version of the library.

How to install virtualenv?

You can install the virtualenv by running
easy_install virtualenv
pip install virtualenv

You can install easy_install using:
pip install setuptools

How to activate virtualenv?

Once you have successfully installed virtualenv, you can use it to create virtual environments by running:
virtualenv --no-site-packages site

Activate the virtualenv using:
source site/bin/activate
. site/bin/activate

How to install Transifex?

Now create a fork of Transifex from bitbucket, clone the repository and install
cd site
hg clone
cd transifex

python develop

But the latest tip requires Django==1.3.1,so to upgrade django use:
pip install Django --upgrade

To install the other modules(if required) in virtualenv using:
pip install <module name>

To install the userprofile module from the use:
pip install

To install the django-piston, for creating application programming interface(APIs) use:
easy_install django-piston

How to configure Transifex?

Now to install the server use:
cd transifex
./ txcreatedirs                       #Create necessary directories
./ syncdb                                     # Setup DB tables, create superuser
./ migrate                                   # Setup more DB tables

While running ./ migrate, it raised a resources migration error, for that I removed the respective the resource migration file from resources/migrations to succeed migration.

./ txlanguages                          # Create a standard set of languages
./ txcreatenoticetypes       # Create a standard set of notice types
./ collectstatic                     #Copy all the addons files to the static dir
./ runserver 8000                   #Start the development server

Now that the server‘s running, visit with your Web browser.


%d bloggers like this: