<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Aug 31, 2017 at 4:20 PM, James Cameron <span dir="ltr"><<a href="mailto:quozl@laptop.org" target="_blank">quozl@laptop.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">What if you read the messages after installing the .xo file; do the<br>
new translations appear? </blockquote><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
cd ~/Activities/Poll.activity<br>
msgunfmt locale/es/LC_MESSAGES/<a href="http://org.worldwideworkshop.PollBuilder.mo" rel="noreferrer" target="_blank">org.<wbr>worldwideworkshop.PollBuilder.<wbr>mo</a></blockquote><div><br></div><div>Yes, they appear. </div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
<br>
For me, testing with Fedora 18, the new translations are missing, even<br>
after repeating "python setup.py build".<br></blockquote><div><br></div><div>Yes, I'm using Fedora 18.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<span class=""><br>
On Thu, Aug 31, 2017 at 11:42:33AM -0400, Jammily Ortigoza wrote:<br>
> Yes, in that specific line that I mentioned, they are the same.<br>
><br>
</span>> However, I downloaded the es.po from [1]<a href="https://translate.sugarlabs.org/es/" rel="noreferrer" target="_blank">https://translate.<wbr>sugarlabs.org/es/</a><br>
> Poll-Builder/<br>
> I'm using the updated Poll.pot from [2]<a href="https://github.com/sugarlabs/" rel="noreferrer" target="_blank">https://github.com/<wbr>sugarlabs/</a><br>
<span class="">> poll-activity/commits/master) and I did what Sebastian's said: <br>
> <br>
> msgmerge -U es.po Poll.pot<br>
><br>
> I translated the missing messages and generate the .xo file.<br>
> <br>
> But still the same, the messages with % are not been translated.<br>
><br>
> I did the same with Finance activity, I just didn't add any translation because<br>
</span>> the es.po from [3]<a href="https://translate.sugarlabs.org/es/Finance/" rel="noreferrer" target="_blank">https://translate.<wbr>sugarlabs.org/es/Finance/</a> is complete. I<br>
<span class="">> generated the .xo file, installed it and the translation worked (messages with<br>
> % also).<br>
><br>
</span>> On Thu, Aug 31, 2017 at 9:08 AM, Walter Bender <[4]<a href="mailto:walter.bender@gmail.com">walter.bender@gmail.com</a>><br>
<span class="">> wrote:<br>
><br>
> Back to the original question, is the msgid after running genpot the same<br>
> as what you tried to add by hand?<br>
><br>
</span><span class="">> On Aug 30, 2017 1:11 AM, "James Cameron" <[5]<a href="mailto:quozl@laptop.org">quozl@laptop.org</a>> wrote:<br>
><br>
> Thanks. I didn't know how to do that!<br>
><br>
> POT file is already up to date, it is the es.po file that is not.<br>
><br>
> Committed as<br>
</span>> [6]<a href="https://github.com/godiard/poll-activity/commit/2a15a5048970" rel="noreferrer" target="_blank">https://github.com/godiard/<wbr>poll-activity/commit/<wbr>2a15a5048970</a><br>
<span class="">> 7063edbabe73da4c13aab438890d<br>
><br>
> On Tue, Aug 29, 2017 at 10:50:35PM -0500, Sebastian Silva wrote:<br>
> > Hi!<br>
> ><br>
> > We should strive to let contributors help without bottlenecks.<br>
> ><br>
> > For what is worth, you can obtain a new pot file with the command<br>
> `python<br>
> > setup.py genpot` when you run it in the activity directory.<br>
> ><br>
> > Then, you will need to merge the untranslated `.pot` strings into the<br>
> already<br>
> > translated `es.po`.<br>
> ><br>
> > This can be done with `msgmerge -U es.po Poll.pot` (assuming<br>
> Poll.pot) is the<br>
> > file generated in the previous step.<br>
> ><br>
> > Then you could make a pull request with the updated pot and po files.<br>
> ><br>
> > Hope this helps!<br>
> ><br>
> > Sebastian<br>
> ><br>
> > On 29/08/17 14:47, Jammily Ortigoza wrote:<br>
> ><br>
> > As you can see, Poll is fully translated for "es" in [1]<br>
</span>> > [7]<a href="http://translate.sugarlabs.org" rel="noreferrer" target="_blank">translate.sugarlabs.org</a> but it has missing strings due to<br>
<span class="">> staled es.po<br>
> > file. What is the procedure to update es.po file with latest<br>
> changes based<br>
</span>> > in POT file into [2][8]<a href="http://translate.sugarlabs.org" rel="noreferrer" target="_blank">translate.sugarlabs.org</a>?<wbr> <br>
> ><br>
> > References:<br>
> ><br>
> > [1] [9]<a href="http://translate.sugarlabs.org/" rel="noreferrer" target="_blank">http://translate.sugarlabs.<wbr>org/</a><br>
> > [2] [10]<a href="http://translate.sugarlabs.org/" rel="noreferrer" target="_blank">http://translate.<wbr>sugarlabs.org/</a><br>
><br>
> > ______________________________<wbr>_________________<br>
> > Sugar-devel mailing list<br>
> > [11]<a href="mailto:Sugar-devel@lists.sugarlabs.org">Sugar-devel@lists.<wbr>sugarlabs.org</a><br>
> > [12]<a href="http://lists.sugarlabs.org/listinfo/sugar-devel" rel="noreferrer" target="_blank">http://lists.sugarlabs.<wbr>org/listinfo/sugar-devel</a><br>
><br>
> --<br>
> James Cameron<br>
> [13]<a href="http://quozl.netrek.org/" rel="noreferrer" target="_blank">http://quozl.netrek.org/</a><br>
> ______________________________<wbr>_________________<br>
> Sugar-devel mailing list<br>
> [14]<a href="mailto:Sugar-devel@lists.sugarlabs.org">Sugar-devel@lists.<wbr>sugarlabs.org</a><br>
> [15]<a href="http://lists.sugarlabs.org/listinfo/sugar-devel" rel="noreferrer" target="_blank">http://lists.sugarlabs.<wbr>org/listinfo/sugar-devel</a><br>
><br>
> --<br>
> Jammily Ortigoza<br>
><br>
> References:<br>
><br>
> [1] <a href="https://translate.sugarlabs.org/es/Poll-Builder/" rel="noreferrer" target="_blank">https://translate.sugarlabs.<wbr>org/es/Poll-Builder/</a><br>
> [2] <a href="https://github.com/sugarlabs/poll-activity/commits/master" rel="noreferrer" target="_blank">https://github.com/sugarlabs/<wbr>poll-activity/commits/master</a><br>
> [3] <a href="http://translate.sugarlabs.org/" rel="noreferrer" target="_blank">http://translate.sugarlabs.<wbr>org/</a><br>
> [4] mailto:<a href="mailto:walter.bender@gmail.com">walter.bender@gmail.com</a><br>
> [5] mailto:<a href="mailto:quozl@laptop.org">quozl@laptop.org</a><br>
> [6] <a href="https://github.com/godiard/poll-activity/commit/2a15a50489707063edbabe73da4c13aab438890d" rel="noreferrer" target="_blank">https://github.com/godiard/<wbr>poll-activity/commit/<wbr>2a15a50489707063edbabe73da4c13<wbr>aab438890d</a><br>
> [7] <a href="http://translate.sugarlabs.org/" rel="noreferrer" target="_blank">http://translate.sugarlabs.<wbr>org/</a><br>
> [8] <a href="http://translate.sugarlabs.org/" rel="noreferrer" target="_blank">http://translate.sugarlabs.<wbr>org/</a><br>
> [9] <a href="http://translate.sugarlabs.org/" rel="noreferrer" target="_blank">http://translate.sugarlabs.<wbr>org/</a><br>
> [10] <a href="http://translate.sugarlabs.org/" rel="noreferrer" target="_blank">http://translate.sugarlabs.<wbr>org/</a><br>
> [11] mailto:<a href="mailto:Sugar-devel@lists.sugarlabs.org">Sugar-devel@lists.<wbr>sugarlabs.org</a><br>
> [12] <a href="http://lists.sugarlabs.org/listinfo/sugar-devel" rel="noreferrer" target="_blank">http://lists.sugarlabs.org/<wbr>listinfo/sugar-devel</a><br>
> [13] <a href="http://quozl.netrek.org/" rel="noreferrer" target="_blank">http://quozl.netrek.org/</a><br>
> [14] mailto:<a href="mailto:Sugar-devel@lists.sugarlabs.org">Sugar-devel@lists.<wbr>sugarlabs.org</a><br>
> [15] <a href="http://lists.sugarlabs.org/listinfo/sugar-devel" rel="noreferrer" target="_blank">http://lists.sugarlabs.org/<wbr>listinfo/sugar-devel</a><br>
<div class="HOEnZb"><div class="h5"><br>
> ______________________________<wbr>_________________<br>
> Sugar-devel mailing list<br>
> <a href="mailto:Sugar-devel@lists.sugarlabs.org">Sugar-devel@lists.sugarlabs.<wbr>org</a><br>
> <a href="http://lists.sugarlabs.org/listinfo/sugar-devel" rel="noreferrer" target="_blank">http://lists.sugarlabs.org/<wbr>listinfo/sugar-devel</a><br>
<br>
<br>
--<br>
James Cameron<br>
<a href="http://quozl.netrek.org/" rel="noreferrer" target="_blank">http://quozl.netrek.org/</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Jammily Ortigoza</div></div></div>
</div></div>