[Openstack-i18n] Comments for translators in Horizon source codes

Andreas Jaeger aj at suse.com
Wed Oct 1 10:52:42 UTC 2014


On 10/01/2014 11:01 AM, Yves-Gwenaël Bourhis wrote:
> Le 30/09/2014 09:10, Ying Chun Guo a écrit :
>> Hello, all
>>
>> It looks like Horizon developers write many comments in their codes to
>> translators.
>> According to
>> https://docs.djangoproject.com/en/1.7/topics/i18n/translation/#comments-for-translators,
>> these comments should show up in the po files.
>>
>> Yet I checked English version po files and found no comments there.
>> I think the problem may be caused by the po file generation method.
> 
> Hi Daisy,
> 
> In my translatable strings rule here:
> https://wiki.openstack.org/wiki/I18n/TranslatableStrings#Use_Comments_for_translators_as_much_as_possible

Great!
> 
> I explain how to add the comments for them to work and give a link to a
> django bug I logged:
> https://code.djangoproject.com/ticket/22578

Just a question on the tools side:

Does this work with our infrastructure? Will these comments end in the
pot file when you run in horizon the following command:
/run_tests.sh --makemessages -V

And will we see those then also in transifex?

Andreas
-- 
 Andreas Jaeger aj@{suse.com,opensuse.org} Twitter: jaegerandi
  SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
   GF: Jeff Hawn,Jennifer Guild,Felix Imendörffer,HRB16746 (AG Nürnberg)
    GPG fingerprint = 93A3 365E CE47 B889 DF7F  FED1 389A 563C C272 A126



More information about the Openstack-i18n mailing list