[Sugar-devel] Localization in web activities

Martin Abente martin.abente.lahaye at gmail.com
Fri Apr 17 15:31:44 EDT 2015


Hey Walter,

Take a look at the plugin I made (branch "massive"):
https://github.com/tchx84/pootle-tg/blob/massive/template_generator.py

If we can discriminate between python vs javascript then we could add your
scripts to that file.

tch.

On Fri, Apr 17, 2015 at 3:17 PM, Walter Bender <walter.bender at gmail.com>
wrote:

> I am maintaining the po files in tutrlejs by hand (and a few custom
> scripts). I use them to then generate a localization.ini file (with a
> script Ignacio wrote for GCI). We don't have Pootle integration yet.
>
> I can try to make my scripts more general pupose... need advice as to
> how to communicate with Pootle.
>
> -walter
>
> On Fri, Apr 17, 2015 at 2:27 PM, Gonzalo Odiard <godiard at sugarlabs.org>
> wrote:
> > Hi Walter, Lionel and Martin:
> >
> > I have a doubt. How is done localization inthe web activities?
> > Can we use translate.sugarlabs.org to translate them?
> > There are a request to add a new web activity to the server [1],
> > but I don't remember we had a mechanism to create pot files from js,
> > or integrate the po translations later.
> > I see po files in turteartjs, but I don't know if are used at all.
> >
> > --
> > Gonzalo Odiard
> >
> > SugarLabs - Software for children learning
> >
> > [1] http://bugs.sugarlabs.org/ticket/4839
>
>
>
> --
> Walter Bender
> Sugar Labs
> http://www.sugarlabs.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20150417/90807600/attachment.html>


More information about the Sugar-devel mailing list