<div dir="ltr">Just a follow up on that problem I found on Transifex web client with "|%s|" strings.<div><br></div><div>It was really a bug, and Transifex team quickly fixed it!</div><div><br></div><div><a href="http://support.transifex.com/customer/en/portal/questions/1434640-problem-translating-s-?new=1434640">http://support.transifex.com/customer/en/portal/questions/1434640-problem-translating-s-?new=1434640</a><br>

</div><div><br></div><div>Regards,</div><div>Gabriel.</div><div><br></div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Aug 6, 2013 at 2:02 PM, Gabriel Wainer <span dir="ltr"><<a href="mailto:gabrielcw@gmail.com" target="_blank">gabrielcw@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">Another thing I noticed in the Transifex web client is that if the string contains "<span style="color:rgb(68,68,68);font-family:'Open Sans',Helvetica,Arial,sans-serif;font-size:13px;line-height:18px">|%s|", it never loads. If I choose on the list one string as this one from nova-translations:</span><div>


<span style="color:rgb(68,68,68);font-family:'Open Sans',Helvetica,Arial,sans-serif;font-size:13px;line-height:18px;background-color:rgb(240,243,245)"><br></span></div><div><span style="color:rgb(68,68,68);font-family:'Open Sans',Helvetica,Arial,sans-serif;font-size:13px;line-height:18px;background-color:rgb(240,243,245)">networks retrieved for instance: |%s|</span></div>


<div><span style="color:rgb(68,68,68);font-family:'Open Sans',Helvetica,Arial,sans-serif;font-size:13px;line-height:18px;background-color:rgb(240,243,245)"><br></span></div><div><font color="#444444" face="Open Sans, Helvetica, Arial, sans-serif"><span style="line-height:18px">The loading icon keeps turning forever and never finishes loading data for translation. However if the string has other things like "</span></font>|<span>%(address)s</span>|<span style="line-height:18px;color:rgb(68,68,68);font-family:'Open Sans',Helvetica,Arial,sans-serif">" between the pipes, it works.</span></div>


<div><font color="#444444" face="Open Sans, Helvetica, Arial, sans-serif"><span style="line-height:18px"><br></span></font></div><div><font color="#444444" face="Open Sans, Helvetica, Arial, sans-serif"><span style="line-height:18px">Doesn't seems to be a browser issue. I tried Chrome, Opera and IE.</span></font></div>


<div><font color="#444444" face="Open Sans, Helvetica, Arial, sans-serif"><span style="line-height:18px"><br></span></font></div><div><font color="#444444" face="Open Sans, Helvetica, Arial, sans-serif"><span style="line-height:18px">Anyone else have seen this?</span></font></div>


<div><font color="#444444" face="Open Sans, Helvetica, Arial, sans-serif"><span style="line-height:18px"><br></span></font></div><div><font color="#444444" face="Open Sans, Helvetica, Arial, sans-serif"><span style="line-height:18px">Thanks again,</span></font></div>


<div><font color="#444444" face="Open Sans, Helvetica, Arial, sans-serif"><span style="line-height:18px">Gabriel.</span></font></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">

On Tue, Aug 6, 2013 at 12:54 PM, Gabriel Wainer <span dir="ltr"><<a href="mailto:gabrielcw@gmail.com" target="_blank">gabrielcw@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">You're right, so far I have no problem with other people translating. But I hope to have this kind of problem soon :).<div>


<br></div><div>in fact I did that for what I understood of translating the strings from program sources. Is there yet another way to translate files from Transifex?</div>
<div><br></div><div>Thanks,</div><div>Gabriel</div></div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Aug 6, 2013 at 12:47 PM, Akihiro Motoki <span dir="ltr"><<a href="mailto:amotoki@gmail.com" target="_blank">amotoki@gmail.com</a>></span> wrote:<br>



<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Gabriel,<br>
<br>
Yes. When we upload PO files to Transifex, % checks seem to be skipped.<br>
This is an easy way to skip the issue.<br>
<br>
Note that this approach is dangerous and cannot be used when several<br>
translators are actively<br>
translating the same documents. Uploading a PO file may override<br>
strings from others.<br>
<br>
Thanks,<br>
Akihiro<br>
<div><div><br>
On Wed, Aug 7, 2013 at 12:40 AM, Gabriel Wainer <<a href="mailto:gabrielcw@gmail.com" target="_blank">gabrielcw@gmail.com</a>> wrote:<br>
> Thank you very much for the answer and the tip Akihiro. I have just<br>
> downloaded .po file, changed the string, sent it back and it worked nicely.<br>
><br>
><br>
> Regards,<br>
> Gabriel<br>
><br>
><br>
> On Tue, Aug 6, 2013 at 12:19 PM, Akihiro Motoki <<a href="mailto:amotoki@gmail.com" target="_blank">amotoki@gmail.com</a>> wrote:<br>
>><br>
>> Hi Gabriel,<br>
>><br>
>> We Japanese community faced the same problem.<br>
>> When I reported it to Transifex GitHub, I got the following response.<br>
>> <a href="https://github.com/transifex/transifex/issues/239" target="_blank">https://github.com/transifex/transifex/issues/239</a><br>
>> <a href="https://github.com/transifex/transifex/issues/219" target="_blank">https://github.com/transifex/transifex/issues/219</a><br>
>><br>
>> PO file is generated from various kind of sources which includes<br>
>> program sources or normal documents.<br>
>> Program sources may constains several % specifiers and % character has<br>
>> a special meaning.<br>
>> On the other hand, % is a normal character in normal documents<br>
>> (including OpenStack documents).<br>
>> Trasifex behavior mainly focuses on the former.<br>
>><br>
>> Transifex cannot know from what source uploaded PO files are generated.<br>
>> I think Transifex needs an additional attribute to specify a type of<br>
>> PO files to address this issue.<br>
>><br>
>> At this moment, we need to escape % character to avoid this problem in<br>
>> Transifex.<br>
>><br>
>> Thanks,<br>
>> Akihiro<br>
>><br>
>> P.S.<br>
>> I often translates message strings extracted from program sources<br>
>> and this feature of Transifex is really helpful for such contents.<br>
>><br>
>><br>
>> On Tue, Aug 6, 2013 at 8:53 PM, Gabriel Wainer <<a href="mailto:gabrielcw@gmail.com" target="_blank">gabrielcw@gmail.com</a>><br>
>> wrote:<br>
>> > Hello everyone,<br>
>> ><br>
>> > Recently I faced the '%' problem from Transifex described here.<br>
>> ><br>
>> > <a href="https://bugs.launchpad.net/openstack-manuals/+bug/1192091" target="_blank">https://bugs.launchpad.net/openstack-manuals/+bug/1192091</a><br>
>> ><br>
>> > This does looks like an issue in Transifex. Have anyone talked with the<br>
>> > Transifex guys to ask if they are aware of that? I searched their issues<br>
>> > but<br>
>> > there isn't any about it.<br>
>> ><br>
>> > <a href="https://github.com/transifex/transifex/issues?labels=&page=1&state=open" target="_blank">https://github.com/transifex/transifex/issues?labels=&page=1&state=open</a><br>
>> ><br>
>> ><br>
>> > Thanks,<br>
>> > Gabriel Wainer.<br>
>> ><br>
>> > _______________________________________________<br>
>> > Openstack-i18n mailing list<br>
>> > <a href="mailto:Openstack-i18n@lists.openstack.org" target="_blank">Openstack-i18n@lists.openstack.org</a><br>
>> > <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-i18n" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-i18n</a><br>
>> ><br>
>><br>
>><br>
>><br>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>