LWN.net Logo

Translating software with Pootle

Translating software with Pootle

Posted Sep 16, 2009 16:10 UTC (Wed) by dwaynebailey (guest, #49311)
In reply to: Translating software with Pootle by oak
Parent article: Translating software with Pootle

Pootle makes use of the Translate Toolkit to do variables and other validation. It wraps the functionality of pofilter http://translate.sourceforge.net/wiki/toolkit/pofilter

Here is an example where the fields are translated so they are broken:

# (pofilter) printf: checks whether printf format strings match
msgid "%(fieldname)s: %(fieldvalue)s"
msgstr "%(veldnaam)s: %(veldwaarde)s"

So yes it will pick those up as errors. You can change the order in this type of variable also. pofilter in fact has the ability to define a collection of variables types that pofilter will check. There are special categories for Mozilla, OpenOffice.org and others. These are then also available in Pootle.

Of course variables is just one of about 45 tests.


(Log in to post comments)

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds