I've got an issue with a Wordpress that I'm taking over now.
There is a .mo
file containing some translations and a .po
file that seems to be the source. The .po
file seems have been generated somehow but its structure look a little weird to me.
Here is what can be found inside.
#: /Users/yui/Sites/fondation/wp-content/themes/fondation/taxonomy-programme.php:24
msgid "Exhibitions"
msgstr "Expositions"
#: /Users/yui/Sites/fondation/wp-content/themes/fondation/archive.php:69
#: /Users/yui/Sites/fondation/wp-content/themes/fondation/single.php:43
msgid "[:en]Events[:fr]Evénements[:de]Events[:pl]Events"
msgstr ""
When I try to generate the .mo
file msgcat fondation-fr_FR.po | msgfmt -o fondation-fr_FR.mo -
the .mo
file contains only the first one (with both msgid and msgstr) but not the other one. The website also have an issue with that and display only the translation found in the .mo
file.
Any thoughts on how to fix the .po
file? Is it an old format?