internationalization - How to copy msgid to msgstr in gettext to make django i18n/translation? -
in django i18n javascript "djangojs" there false assumption language english - https://code.djangoproject.com/ticket/20280.
because of limitation if language not english have copy msgid msgstr after string extraction. searching internet found nothing it.
is there tool run on *.po file copy msgid msgstr?
i need translate polish polish since if not django translate polish javascript english - wrong. suggestion welcome.
example - polish *.po:
msgid "polski" msgstr "" should be:
msgid "polski" msgstr "polski" if not done: polski = polish invalid:
if done polski = polski!
this need because django loads english first update translation if polish translation empty nothing translated not required. languages other english should done trick.
yes, it's part of gettext , called msgen: http://www.gnu.org/software/gettext/manual/html_node/msgen-invocation.html
Comments
Post a Comment