<div dir="ltr">Hey Walter,<div><br></div><div>Take a look at the plugin I made (branch "massive"): <a href="https://github.com/tchx84/pootle-tg/blob/massive/template_generator.py">https://github.com/tchx84/pootle-tg/blob/massive/template_generator.py</a></div><div><br></div><div>If we can discriminate between python vs javascript then we could add your scripts to that file.</div><div><br></div><div>tch.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Apr 17, 2015 at 3:17 PM, Walter Bender <span dir="ltr"><<a href="mailto:walter.bender@gmail.com" target="_blank">walter.bender@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I am maintaining the po files in tutrlejs by hand (and a few custom<br>
scripts). I use them to then generate a localization.ini file (with a<br>
script Ignacio wrote for GCI). We don't have Pootle integration yet.<br>
<br>
I can try to make my scripts more general pupose... need advice as to<br>
how to communicate with Pootle.<br>
<br>
-walter<br>
<div class="HOEnZb"><div class="h5"><br>
On Fri, Apr 17, 2015 at 2:27 PM, Gonzalo Odiard <<a href="mailto:godiard@sugarlabs.org">godiard@sugarlabs.org</a>> wrote:<br>
> Hi Walter, Lionel and Martin:<br>
><br>
> I have a doubt. How is done localization inthe web activities?<br>
> Can we use <a href="http://translate.sugarlabs.org" target="_blank">translate.sugarlabs.org</a> to translate them?<br>
> There are a request to add a new web activity to the server [1],<br>
> but I don't remember we had a mechanism to create pot files from js,<br>
> or integrate the po translations later.<br>
> I see po files in turteartjs, but I don't know if are used at all.<br>
><br>
> --<br>
> Gonzalo Odiard<br>
><br>
> SugarLabs - Software for children learning<br>
><br>
> [1] <a href="http://bugs.sugarlabs.org/ticket/4839" target="_blank">http://bugs.sugarlabs.org/ticket/4839</a><br>
<br>
<br>
<br>
</div></div><span class="HOEnZb"><font color="#888888">--<br>
Walter Bender<br>
Sugar Labs<br>
<a href="http://www.sugarlabs.org" target="_blank">http://www.sugarlabs.org</a><br>
</font></span></blockquote></div><br></div>