Translation files .mo / .po deleted in v1.11.1
-
Question: What is the correct folder to place the .po and .mo files in, to translate the plugin core?
When WP-ERP plugin was updated recently, to v1.11.1 -> August 26, 2022, I noticed soon after that translations I had put in place were no longer working.
I had previously put the .mo file in: /wp-content/plugins/erp/i18n/language folder, as per the documentation (https://wperp.com/docs/erp-core/how-to-translate-wp-erp-plugin/translating-the-wp-erp-core-plugin/) and it was working fine, my translations were showing correctly.
After the update of the plugin, I noticed that the .mo file had been wiped away, and new versions of erp.pot and erp.php had been put in that folder. I downloaded the new .pot file and merged it using PoEdit, there were just a few new strings had been added, I saved a new .po and .mo files and uploaded to /wp-content/plugins/erp/i18n/language folder. My translations were back, working OK now.
Is deletion of the .mo file going to happen again, whenever the plugin is updated, or a change is made to the .pot file? Is there a different folder where I should place the .mo file, so it avoids being deleted when the plugin gets a new version?
WP Version 6.0.2
WP ERP Version 1.11.1 by weDevs | Auto-updates enabled
Server architecture Linux 3.10.0-962.3.2.lve1.5.63.el7.x86_64 x86_64
Web server LiteSpeedThe page I need help with: [log in to see the link]
- The topic ‘Translation files .mo / .po deleted in v1.11.1’ is closed to new replies.