Feature #1159

Support .po files.

Added by Koen Deforche over 1 year ago. Updated 7 months ago.

Status:AssignedStart date:02/06/2012
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:-
Target version:-

Description

Add a WLocalizedStrings implementation that reads .po files, and provide a HOWTO on how to extract keys from the source code.

History

#1 Updated by Koen Deforche over 1 year ago

  • Status changed from New to Assigned
  • Assignee set to Pieter Libin
  • Target version set to 3.2.2

#2 Updated by Pieter Libin about 1 year ago

Interesting implementation on how to parse po files (python):
http://babel.edgewall.org/browser/trunk/babel/messages/pofile.py

#3 Updated by Pieter Libin about 1 year ago

Link with information about the .po format:
http://www.gnu.org/savannah-checkouts/gnu/gettext/manual/html_node/PO-Files.html

Important:
the "Plural-Forms" string can be found in the header of the .po file, which is the message with an empty msgid

#4 Updated by Pau Garcia i Quiles 12 months ago

While on that, you could also implement Transcript, an "extension" to gettext developed in KDE:

http://techbase.kde.org/Localization/Concepts/Transcript

#5 Updated by Koen Deforche 11 months ago

  • Target version changed from 3.2.2 to 3.2.3

#6 Updated by Koen Deforche 7 months ago

  • Assignee deleted (Pieter Libin)
  • Target version deleted (3.2.3)

Also available in: Atom PDF