<font face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif" size="2">Ok, thats good to hear! Thanks Akihiro for the clarification.<div>Andreas, I believe we can rewire the --makemessages command to use Babel, so script update will not be required.<br><br><font color="#990099">-----Andreas Jaeger <aj@suse.com> wrote: -----</font><div class="iNotesHistory" style="padding-left:5px;"><div style="padding-right:0px;padding-left:5px;border-left:solid black 2px;">To: "OpenStack Development Mailing List (not for usage questions)" <openstack-dev@lists.openstack.org><br>From: Andreas Jaeger <aj@suse.com><br>Date: 06/09/2015 12:03AM<br>Subject: Re: [openstack-dev] [horizon][i18n] Ordering of PO files<br><br><div><font face="Courier New,Courier,monospace" size="3">On 06/09/2015 01:28 AM, Thai Q Tran wrote:<br>> Hi folks,<br>><br>> In the midst of shifting to angular, we are making use of babel for<br>> extracting messages. This would then allow us to write a custom<br>> extractor for angular templates.<br>><br>> Here's the patch that compare PO files:<br>> <a href="https://review.openstack.org/#/c/189502/">https://review.openstack.org/#/c/189502/</a><br>> It looks worse than reality, if you compare the django vs babel<br>> makemessages, they are nearly identical, only the ordering is different.<br>><br>> Which leads me to my next point. If the ordering of the translatable<br>> strings are not the same, how does that affect translation (if at all)?<br><br>It doesn't.<br><br>Our tools always sort the entries, we call for all files:<br>msgattrib --translated --no-location --sort-output "$i" \<br>             --output="${i}.tmp"<br><br>Please use the same commands for generation as our tools. For horizon <br>see <br><a href="http://git.openstack.org/cgit/openstack-infra/project-config/tree/jenkins/scripts/propose_translation_update_horizon.sh">http://git.openstack.org/cgit/openstack-infra/project-config/tree/jenkins/scripts/propose_translation_update_horizon.sh</a><br><br>Andreas<br>-- <br>  Andreas Jaeger aj@{suse.com,opensuse.org} Twitter/Identica: jaegerandi<br>   SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany<br>    GF: Felix Imendörffer, Jane Smithard, Dilip Upmanyu, Graham Norton,<br>        HRB 21284 (AG Nürnberg)<br>     GPG fingerprint = 93A3 365E CE47 B889 DF7F  FED1 389A 563C C272 A126<br><br><br>__________________________________________________________________________<br>OpenStack Development Mailing List (not for usage questions)<br>Unsubscribe: OpenStack-dev-request@lists.openstack.org?subject:unsubscribe<br><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br><br></font></div></div></div></div></font>