Opened 12 years ago

Closed 11 years ago

Last modified 11 years ago

#1039 closed defect (invalid)

Pls add karma.pot to pootle

Reported by: BryanWB Owned by: sayamindu
Priority: Unspecified by Maintainer Milestone: Unspecified
Component: localization Version: Unspecified
Severity: Unspecified Keywords:
Cc: cjl Distribution/OS: Unspecified
Bug Status: Assigned

Change History (4)

comment:1 Changed 11 years ago by cjl

  • Cc cjl added

The link above does not work anymore, it seems to have gotten lost along the way. There should be a po directory in the top level of master (with the POT file inside).

http://git.sugarlabs.org/projects/karma/repos/mainline/trees/master

comment:2 Changed 11 years ago by BryanWB

  • Bug Status changed from Unconfirmed to Assigned
  • Resolution set to invalid
  • Status changed from new to closed

Most of the strings in Karma are in the markup and not the code. I need to write a new parser for grabbing the strings out of the markup and putting them in a .po file. Hope to complete that this month

comment:3 Changed 11 years ago by cjl

Bryan,

I suggest you look into the Translate Toolkit (from the makers of Pootle).

http://translate.sourceforge.net/wiki/

in particular the html2po and po2html features

http://translate.sourceforge.net/wiki/toolkit/html2po

comment:4 Changed 11 years ago by BryanWB

Thanks cjl. I have looked at it and talked to the guys who wrote it. By their own admission the html2po utility sucks and needs to be rewritten. I hope to rewrite it this month.

Note: See TracTickets for help on using tickets.