Project

General

Profile

Actions

Feature #210

closed

Feature #208: Better use of i18n tool features

Script to report the PO file translation status

Added by Jean-Michel Philippe almost 13 years ago. Updated over 12 years ago.

Status:
Closed
Priority:
Normal
Category:
Localization
Target version:
Start date:
09/05/2011
Due date:
09/12/2011
% Done:

100%

Estimated time:
6:00 h
Spent time:

Description

The tool intltool-update has a special option to compile translation status of PO files:

“-r
--report
Display a status report for all translations in the software.”

We can then build a script to gather all these information and write a data file. Later we'll be able to show the status in our web pages.

Actions #1

Updated by Jean-Michel Philippe over 12 years ago

  • Due date set to 09/12/2011
  • Status changed from New to In Progress
  • Assignee set to Jean-Michel Philippe
  • Target version set to Gondwana update 1
  • Start date set to 09/05/2011
  • % Done changed from 0 to 80
  • Estimated time set to 3:00 h

After looking at the Perl source code, the command intltool-update cannot work out of a real source code directory, because it relies on standard source code files to find the project name. As we have directories dedicated to translations in lang/, we had to use the base function msgfmt in a wrapper script.

Actions #2

Updated by Jean-Michel Philippe over 12 years ago

Note that this tool is necessary to be sure that fetching new translations from the Internet will not remove the existing translations. Redirecting its output to text files, it is possible to see the effect of PO file merging with a standard diff tool.

Actions #3

Updated by Jean-Michel Philippe over 12 years ago

  • Status changed from In Progress to Resolved
  • % Done changed from 80 to 100
  • Estimated time changed from 3:00 h to 6:00 h

Finally I also integrated language status computing to our Transifex wrapper script. We now have a fully automated interface to Transifex that is even able to do svn add on new language files :). It now operates directly in the lang/ tree since we are sure to not introduce updates that are just changes in META data.

Actions #4

Updated by Jean-Michel Philippe over 12 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF