[Sugar-devel] Web activities and i10n

Daniel Narvaez dwnarvaez at gmail.com
Mon Jun 3 17:20:50 EDT 2013

I had a look at the code and I don't see anything firefox specific, I
suspect the full API will work on latest webkit (they try to support really
old browsers and that's probably where they only support a basic API).

The thing I'm not convinced about is using .properties files. But unless we
can find a library which uses gettext and support translating html...
perhaps we can just use prop2po.

On 3 June 2013 22:56, Daniel Narvaez <dwnarvaez at gmail.com> wrote:

> Hello,
> we didn't really think about how to support translations of the web
> activities. This is how mozilla is doing it
> https://github.com/fabi1cazenave/webL10n
> It claims to be cross browsers but they have a "modern" API which is
> firefox only. I'm not sure what that exactly mean, but a basic API is
> probably better than having to write our own thing.
> They use ini files, but there are tools to convert to and from po files.
> http://docs.translatehouse.org/projects/translate-toolkit/en/latest/commands/prop2po.html?id=toolkit/prop2po
> --
> Daniel Narvaez

Daniel Narvaez
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20130603/c01bea4b/attachment.html>

More information about the Sugar-devel mailing list