[Sugar-devel] Poll activty translation with gettext
jortigozaf at gmail.com
Tue Aug 29 11:56:16 EDT 2017
I'm trying to translate Poll activity using gettext. I followed this
I have my POTFILE.in.
>> cat POTFILES.in
With the POTFILE.in I generated the .pot file:
$python setup.py genpot
Following, I generated the es.po file:
$msginit -l es
The es.po file is ok, I can see all the messages to be translated. I did
the translation an after that I did the last step:
msgfmt es.po --output='../locale/es/LC_MESSAGES/
Almost all translations work except the ones with the "%s" in the msgid.
msgid "Do you want delete the poll \"%s\"?"
msgstr "Desea eliminar la encuesta \"%s\"?"
This is still showing in english when I open Poll activity.
Does somebody know what am I doing wrong?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Sugar-devel