I have at least one piece of code where I have used plone i18n tools to retranslate English to English - a client wanted the plone.app.checkflow status message to say "Published" instead of "Checked In". I am trying to do so again for a description field that is part of the pat-tinymce pattern, but an unable to see the results. My guess is that I am missing some extra step needed for js, or that it just won't work here.
My package has locales/en/LC_MESSAGES/plone.po and this file contains pairs of msgid and msgstr. In the root configure.zcml I have <i18n:registerTranslations directory="locales"/>
. In my zope.conf I have <environment>zope_i18n_compile_mo_files True</environment>
which looks like it creates the plone.mo file on start up. I looked into i18ndude but if I understand it correctly, this is just to assist in finding po files and generating the mo files so I don't think I need it with that zope.conf setting?
As a sanity check I also put this in my plone.po
msgid "label_edit_default_view_container"
msgstr "foobar"
That works. It just doesn't work for the js string I want to change:
#: pat/tinymce/tinymce.js#: pat/tinymce/tinymce.js
msgid "External URL (can be relative within this site or absolute if it starts with http:// or https://)"
msgstr "foobar"