Translate my own plugin which is published in WP marketplace
-
I’m trying to translate a plugin I published to the WordPress marketplace, but I’m having trouble.
I created the.pot file, compiled the.po and.mo files, and placed them in the /languages folder at wp-content/plugins/name-of-the-plugin. This is only translating the plugin description, it does not translate the plugin setting page that is created when the plugin is installed.
If I copy .po and .mo file and place them under this path: wp-content/languages/plugins/name-of-the-plugin then everything gets translated.
How can I manage to place these translation files automatically into this path (wp-content/languages/plugins/name-of-the-plugin) when someone installs the plugin?
Or please let me know if I’m missing something in this process?
- The topic ‘Translate my own plugin which is published in WP marketplace’ is closed to new replies.