Ticket #1039 (closed defect: invalid)

Opened 4 years ago

Last modified 3 years ago

Pls add karma.pot to pootle

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

Change History

Changed 3 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

Changed 3 years ago by BryanWB

  • status changed from new to closed
  • resolution set to invalid
  • status_field changed from Unconfirmed to Assigned

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

Changed 3 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

Changed 3 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.