Sure not a problem.<div><br></div><div>I thought it was something like that. I was using sublime as the text editor and it kept finishing up the quotes for me.</div><div><br></div><div>I'm glad this build thought. I'll just update the file on my side and get back to (re)creating the linux box, so I can run the gettext commands myself.</div>

<div><br></div><div>Now a bit about the experiencie:</div><div><br></div><div>It's not easy to translate like that. gettext has some special tips and tricks, but my guess is that once you learn them it becomes quite simple.</div>

<div><br></div><div>How would we do it in the case of an update? Imagine that we add a section to the introduction. Whenever you generate the messages again, I'll only have an extra blank message, correct?</div><div>
<br>
</div><div>Some people told me about transifex (<a href="https://www.transifex.com/">https://www.transifex.com/</a>). It's an application that helps us translate these messages (you get a % number, mark translations as safe, etc).</div>

<div><br></div><div>Perhaps we should look into it?</div><div><br></div><div>George</div><div><br><div class="gmail_quote">On Thu, Oct 11, 2012 at 6:46 PM, Sandro Santilli <span dir="ltr"><<a href="mailto:strk@keybit.net" target="_blank">strk@keybit.net</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">George: I fixed it myself (was probably easier), rebased<br>
and squashed against svn-trunk. It's in SVN with revision r10406.<br>
<br>
You'll probably need to rebase your branch.<br>
I don't know when the product of translation will be available online.<br>
Regina probably knows that<br>
<br>
--strk;<br>
<div class="HOEnZb"><div class="h5"><br>
On Thu, Oct 11, 2012 at 11:20:00PM +0200, Sandro Santilli wrote:<br>
> Still no luck.<br>
> I took a look and it seems po2xml doesn't like this line (line 39):<br>
><br>
> "Britânica - Canadá, especializada em integração de dados e desenvolvimento customizado de software. Nós " "planejamos e suportamos o desenvolvimento do PostGIS para uma ampla de funcionalidades de SIG, incluindo "<br>


><br>
> Note the missing newline.<br>
> If you make sure all lines start and end with "<br>
> then it builds fine. Like this:<br>
><br>
> "Britânica - Canadá, especializada em integração de dados e desenvolvimento customizado de software. Nós "<br>
> "planejamos e suportamos o desenvolvimento do PostGIS para uma ampla de funcionalidades de SIG, incluindo "<br>
><br>
> Looking forward to next commit :)<br>
><br>
> --strk;<br>
><br>
> On Thu, Oct 11, 2012 at 05:26:16PM -0300, George Silva wrote:<br>
> > Sandro,<br>
> ><br>
> > I've updated the translations a bit. I think I made a mistake using the<br>
> > quotes to delimit the message.<br>
> ><br>
> > Can you pull from master and try again? My linux box crashed (hard) and I<br>
> > still need to rebuild it, so I can test the creation of messages without<br>
> > bothering you.<br>
> ><br>
> > On Thu, Oct 11, 2012 at 9:23 AM, George Silva <<a href="mailto:georger.silva@gmail.com">georger.silva@gmail.com</a>>wrote:<br>
> ><br>
> > > This is weird. Probably some error on the translation?<br>
> > ><br>
> > > Let me check everything again and I'll let you know.<br>
> > ><br>
> > ><br>
> > > On Thu, Oct 11, 2012 at 9:21 AM, Sandro Santilli <<a href="mailto:strk@keybit.net">strk@keybit.net</a>> wrote:<br>
> > ><br>
> > >> Thanks George. I'm trying it but having a problem, unfortunately:<br>
> > >><br>
> > >>  po2xml ../../introduction.xml introduction.xml.po > introduction.xml<br>
> > >>  terminate called after throwing an instance of<br>
> > >> 'antlr::TokenStreamRecognitionException'<br>
> > >>  Aborted (core dumped)<br>
> > >><br>
> > >> You can test yourself too:<br>
> > >><br>
> > >>  $ cd doc/po/pt_BR<br>
> > >>  $ make<br>
> > >><br>
> > >> I will need a ticket for this as can't work on it immediately.<br>
> > >> Thanks!<br>
> > >><br>
> > >> --strk;<br>
> > >><br>
> > >><br>
> > >> On Thu, Oct 11, 2012 at 08:49:02AM -0300, George Silva wrote:<br>
> > >> > I've made a pull request via github.<br>
> > >> ><br>
> > >> > If you want to merge directly, take a look at my github repository:<br>
> > >> ><br>
> > >> > <a href="https://github.com/george-silva/postgis" target="_blank">https://github.com/george-silva/postgis</a><br>
> > >> ><br>
> > >> > I'm translating directly in the svn-trunk branch.<br>
> > >> ><br>
> > >> > On Wed, Oct 10, 2012 at 7:32 PM, Sandro Santilli <<a href="mailto:strk@keybit.net">strk@keybit.net</a>><br>
> > >> wrote:<br>
> > >> ><br>
> > >> > > On Wed, Oct 10, 2012 at 03:07:55PM -0300, George Silva wrote:<br>
> > >> > > > Hello folks,<br>
> > >> > > ><br>
> > >> > > > I've managed to translate the entire introduction.xml file.<br>
> > >> > > ><br>
> > >> > > > strk, I think we could run a little build test for these documents?<br>
> > >> > ><br>
> > >> > > I think it's all setup to run the tests on commit (and the result<br>
> > >> > > should actually be directly published)<br>
> > >> > ><br>
> > >> > > > Let's see how this will turn out?<br>
> > >> > > ><br>
> > >> > > > Right now it's all in my fork. I'll make a pull request for the<br>
> > >> official<br>
> > >> > > > PostGIS repo?<br>
> > >> > ><br>
> > >> > > Yes please, or just push your branch somewhere and report here<br>
> > >> > > the public repo url and the branch name ( I won't merge pull<br>
> > >> > > requests with the github interface anyway ).<br>
> > >> > ><br>
> > >> > > --strk;<br>
> > >> > ><br>
> > >> > >  <a href="http://www.cartodb.com" target="_blank">http://www.cartodb.com</a> - Map, analyze and build applications with<br>
> > >> your<br>
> > >> > > data<br>
> > >> > ><br>
> > >> > >                                        ~~ <a href="http://strk.keybit.net" target="_blank">http://strk.keybit.net</a><br>
> > >> > ><br>
> > >> > > _______________________________________________<br>
> > >> > > postgis-devel mailing list<br>
> > >> > > <a href="mailto:postgis-devel@postgis.refractions.net">postgis-devel@postgis.refractions.net</a><br>
> > >> > > <a href="http://postgis.refractions.net/mailman/listinfo/postgis-devel" target="_blank">http://postgis.refractions.net/mailman/listinfo/postgis-devel</a><br>
> > >> > ><br>
> > >> ><br>
> > >> ><br>
> > >> ><br>
> > >> > --<br>
> > >> > George R. C. Silva<br>
> > >> ><br>
> > >> > Desenvolvimento em GIS<br>
> > >> > <a href="http://geoprocessamento.net" target="_blank">http://geoprocessamento.net</a><br>
> > >> > <a href="http://blog.geoprocessamento.net" target="_blank">http://blog.geoprocessamento.net</a><br>
> > >><br>
> > >> > _______________________________________________<br>
> > >> > postgis-devel mailing list<br>
> > >> > <a href="mailto:postgis-devel@postgis.refractions.net">postgis-devel@postgis.refractions.net</a><br>
> > >> > <a href="http://postgis.refractions.net/mailman/listinfo/postgis-devel" target="_blank">http://postgis.refractions.net/mailman/listinfo/postgis-devel</a><br>
> > >><br>
> > >><br>
> > >> --<br>
> > >><br>
> > >>  <a href="http://www.cartodb.com" target="_blank">http://www.cartodb.com</a> - Map, analyze and build applications with your<br>
> > >> data<br>
> > >><br>
> > >>                                        ~~ <a href="http://strk.keybit.net" target="_blank">http://strk.keybit.net</a><br>
> > >><br>
> > >> _______________________________________________<br>
> > >> postgis-devel mailing list<br>
> > >> <a href="mailto:postgis-devel@postgis.refractions.net">postgis-devel@postgis.refractions.net</a><br>
> > >> <a href="http://postgis.refractions.net/mailman/listinfo/postgis-devel" target="_blank">http://postgis.refractions.net/mailman/listinfo/postgis-devel</a><br>
> > >><br>
> > ><br>
> > ><br>
> > ><br>
> > > --<br>
> > > George R. C. Silva<br>
> > ><br>
> > > Desenvolvimento em GIS<br>
> > > <a href="http://geoprocessamento.net" target="_blank">http://geoprocessamento.net</a><br>
> > > <a href="http://blog.geoprocessamento.net" target="_blank">http://blog.geoprocessamento.net</a><br>
> > ><br>
> > ><br>
> ><br>
> ><br>
> > --<br>
> > George R. C. Silva<br>
> ><br>
> > Desenvolvimento em GIS<br>
> > <a href="http://geoprocessamento.net" target="_blank">http://geoprocessamento.net</a><br>
> > <a href="http://blog.geoprocessamento.net" target="_blank">http://blog.geoprocessamento.net</a><br>
><br>
> > _______________________________________________<br>
> > postgis-devel mailing list<br>
> > <a href="mailto:postgis-devel@postgis.refractions.net">postgis-devel@postgis.refractions.net</a><br>
> > <a href="http://postgis.refractions.net/mailman/listinfo/postgis-devel" target="_blank">http://postgis.refractions.net/mailman/listinfo/postgis-devel</a><br>
><br>
><br>
> --<br>
><br>
>  <a href="http://www.cartodb.com" target="_blank">http://www.cartodb.com</a> - Map, analyze and build applications with your data<br>
><br>
>                                        ~~ <a href="http://strk.keybit.net" target="_blank">http://strk.keybit.net</a><br>
><br>
<br>
--<br>
<br>
 <a href="http://www.cartodb.com" target="_blank">http://www.cartodb.com</a> - Map, analyze and build applications with your data<br>
<br>
                                       ~~ <a href="http://strk.keybit.net" target="_blank">http://strk.keybit.net</a><br>
<br>
_______________________________________________<br>
postgis-devel mailing list<br>
<a href="mailto:postgis-devel@postgis.refractions.net">postgis-devel@postgis.refractions.net</a><br>
<a href="http://postgis.refractions.net/mailman/listinfo/postgis-devel" target="_blank">http://postgis.refractions.net/mailman/listinfo/postgis-devel</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>George R. C. Silva<br><br>Desenvolvimento em GIS<br><a href="http://geoprocessamento.net" target="_blank">http://geoprocessamento.net</a><br><a href="http://blog.geoprocessamento.net" target="_blank">http://blog.geoprocessamento.net</a><div style="padding:0px;margin-left:0px;margin-top:0px;overflow:hidden;word-wrap:break-word;color:black;font-size:10px;text-align:left;line-height:130%">

</div><div style="padding:0px;margin-left:0px;margin-top:0px;overflow:hidden;word-wrap:break-word;color:black;font-size:10px;text-align:left;line-height:130%"></div><div style="padding:0px;margin-left:0px;margin-top:0px;overflow:hidden;word-wrap:break-word;color:black;font-size:10px;text-align:left;line-height:130%">

</div><br>
</div>