-
Notifications
You must be signed in to change notification settings - Fork 120
Description
Hello.
I'm doing some tests regarding loading your plugin's .mo files.
I noticed that when translating strings contained in .php files, the plugin loads the .mo file contained in the system path (wp-content/languages/plugins/wedevs-project-manager-xx_XX.mo) and, if it doesn't find it, it loads the .mo file contained in the developer path (wp-content/plugins/wedevs-project-manager/languages/wedevs-project-manager-xx_XX.mo).
Instead, regarding the translation of strings contained in .js files, which are handled by pm_get_jed_locale_data and pm_get_translations_for_plugin_domain functions, the plugin uses only the .mo file contained in the developer path (wp-content/plugins/wedevs-project-manager/languages/wedevs-project-manager-xx_XX.mo) and completely ignores the .mo file contained in the system path (wp-content/languages/plugins/wedevs-project-manager-xx_XX.mo).
Couldn't we use a procedure that is more compliant with the standards and other WordPress plugins?
Thanks.