[Lazarus] PoHelper: a tool to assist translators

Giuliano Colla giuliano.colla at fastwebnet.it
Mon Oct 13 14:31:59 CEST 2014


Whoever is interested, may download from:

http://www.bononiadocta.it/Lazarus/pohelper.zip

the version 0.1 of PoHelper, a tool I've developed to help me in 
translation maintenance.

I've put there the features I felt necessary for routine translation 
work, which were not avialable elsewhere.

It provides:

A quick verification of the state of all translations (Translated, 
Untranslated, Fuzzy and format argument errors). Items with format 
argument errors are marked as Fuzzy.

A graphical representation of all the translations requiring 
maintenance, for a given language, in a given directory tree.

Missing translations are represented with a yellow full pie, others are 
represented with a pie partitioned for translated/untranslated/fuzzy 
entries and a question mark for format argument errors (the same as 
PoChecker new graphical display, available in trunk).
Optionally all translations can be seen (including those 100% 
translated), or missing translations can be hidden.

Opening a translation (by clicking on it) with a choice of two 
configurable external editors (left-click/right-click). I use both 
Virtaal and Poedit, depending on needs, so I made it that way.

Creating a new empty translation from template, for missing 
translations, and then opening it in the selected editor.

Performing a clean-up of translations, by removing PreviousId from 
non-Fuzzy items, and then saving all the translations which have been 
somehow modified in the session (added/removed Fuzzy flags, removed 
PreviousId, etc).

A few more things to come.

It should be complementary to PoChecker as it doesn't provide all the 
statistics and more exhaustive tests of PoChecker, but does provide 
utilities which are outside the scope of PoChecker.

The human interface should be self-explaining. If not, just ask.

If found useful, it could be added to Lazarus Tools, or to Lazarus 
Components (it could be integrated in the IDE). If not, I'll just keep 
it for myself.

I'll be thankful to whoever will test it and report bugs, suggest 
improvements, or asks for useful features.

Giuliano

-- 
Giuliano Colla

Project planning question: when it's 90% done, are we halfway or not yet?





More information about the Lazarus mailing list