In many places in Plone we use a placeholder msgid and then the translatable string goes to defaultMessage.
For instance we have this:
<strong i18n:translate="label_name">Name</strong>
instead of
<strong i18n:translate="">Name</strong>
These strings create the following entries in the po file:
# defaultMessage: Name
msgid "label_name"
msgstr ""
This creates confusion when using tools like Weblate, because these tools place the value of msgid in the translation box, and many users think that what they need to translate is label_name instead of Name.
We need to check if this is something we can change in Plone, remove all defaultMessages or something else can be done in Weblate.
In many places in Plone we use a placeholder
msgidand then the translatable string goes todefaultMessage.For instance we have this:
instead of
These strings create the following entries in the po file:
This creates confusion when using tools like Weblate, because these tools place the value of
msgidin the translation box, and many users think that what they need to translate islabel_nameinstead ofName.We need to check if this is something we can change in Plone, remove all
defaultMessages or something else can be done in Weblate.