User Tools

Site Tools


projects:mypootleproject

This is an old revision of the document!


Setting up a website for translation of properties files

The problem

Currently I am running a java project which is localized in five languages: spanish, english, portuguese, portuguese (brazilian version), turkish. The literals are kept in properties files, and it's a nightmare to mantain them. The problem is more or less this:

  • The development team made the initial version of the spanish properties file. Up to this point everything were fine.
  • With this file, I (with the help of other coworkers) made the translations into the rest of the languages. Here the problems begun, because we had to pack the properties files into word files –the translators were auditors–, wait to their answer and then move the translation back into the properties files again, being vigilant about the parameters {0} of the texts, the equal signs and things like that. So far, so good.
  • The development team made changes in the spanish properties file. Here started the nightmare, because we had to calculate the difference between the old version and the new version –sending again the whole files were not an option because of the size–, and again packing in and packing back the properties files into word. Don't forget to use UTF-8 files (unicode) when dealing with text files. native2ascii to an fro and things like that.
  • The development team made changes again in the spanish properties file, and then sent it back to us without signaling the slightest difference among versions. This is the time to pry God for more patient or a shotgun. Well, the last the better.

Well, if you have pass among this, or at least you have read the half of this list probably you had realize that technology should help in this process.

The solution: pootle

I've been looking for a solution for this mess for a long time. I've look for applications that can handle the differences between versions of properties files or at least ease the work of introducing the localized versions of the properties files and leverage the work of packing / unpacking the files into Word –for ease the work for the translators–. I've tried many tools, properties files editors, and the like, and I nearly came to the conclusion that there is no free solution available in the market, or at least at a cheap price.

I were nearly giving up when I bumped with Pootle. Pootle has everything I need to keep my translations under control:

  • It is web based, so there is only one repository for the translations
  • It can run may projects
  • It doesn't require for the translators to install complex applications: with a web browser is enough
  • It can manage the Java properties files
projects/mypootleproject.1293282143.txt.gz · Last modified: 2022/12/02 22:02 (external edit)