<div dir="ltr"><div>An alternative could be to combine webL10N and Jed<br><br><a href="http://slexaxton.github.io/Jed/">http://slexaxton.github.io/Jed/</a><br><br></div><div>Either adapt webL10N to use Jed or add the dom bits of webL10N to Jed. The webL10N code is pretty simple, so it might easier then figuring out how to setup the prop2po build bits.<br>
</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 3 June 2013 23:20, Daniel Narvaez <span dir="ltr"><<a href="mailto:dwnarvaez@gmail.com" target="_blank">dwnarvaez@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>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).<br>
<br></div>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.<br></div><div class="gmail_extra">
<div><div class="h5">
<br><br><div class="gmail_quote">On 3 June 2013 22:56, Daniel Narvaez <span dir="ltr"><<a href="mailto:dwnarvaez@gmail.com" target="_blank">dwnarvaez@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div>Hello,<br><br>we didn't really think about how to support translations of the web activities. This is how mozilla is doing it<br><br><a href="https://github.com/fabi1cazenave/webL10n" target="_blank">https://github.com/fabi1cazenave/webL10n</a><br>
<br></div><div>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.<br>
</div><div><br></div><div>They use ini files, but there are tools to convert to and from po files.<br></div><div><br></div><a href="http://docs.translatehouse.org/projects/translate-toolkit/en/latest/commands/prop2po.html?id=toolkit/prop2po" target="_blank">http://docs.translatehouse.org/projects/translate-toolkit/en/latest/commands/prop2po.html?id=toolkit/prop2po</a><span><font color="#888888"><br>
<br><div><div><div>-- <br>Daniel Narvaez<br>
</div></div></div></font></span></div>
</blockquote></div><br><br clear="all"><br></div></div><span class="HOEnZb"><font color="#888888">-- <br>Daniel Narvaez<br>
</font></span></div>
</blockquote></div><br><br clear="all"><br>-- <br>Daniel Narvaez<br>
</div>