Project

General

Profile

Actions

Feature #1159

open
KD

Support .po files.

Feature #1159: Support .po files.

Added by Koen Deforche over 14 years ago. Updated almost 14 years ago.

Status:
InProgress
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
02/06/2012
Due date:
% Done:

0%

Estimated time:

Description

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

KD Updated by Koen Deforche over 14 years ago Actions #1

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

PL Updated by Pieter Libin over 14 years ago Actions #2

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

PL Updated by Pieter Libin over 14 years ago Actions #3

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

PG Updated by Pau Garcia i Quiles over 14 years ago Actions #4

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

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

KD Updated by Koen Deforche about 14 years ago Actions #5

  • Target version changed from 3.2.2 to 3.2.3

KD Updated by Koen Deforche almost 14 years ago Actions #6

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

Also available in: PDF Atom