Plugin Translation Localization
-
Hello,
I have my plugin successfully setup for translation. And have had a few generous individuals translate the plugin. Everything is working great.
Now, I would like to include other php files used by the plugin to be translatable.
Here is the function I’m using in my
main.phpfile:function jwl_ultimate_tinymce() { load_plugin_textdomain('jwl-ultimate-tinymce', false, basename( dirname( __FILE__ ) ) . '/languages' ); } add_action( 'init', 'jwl_ultimate_tinymce' );My question; Do I need to include that in each file which will have translatable strings? Or do I need to
includeeach file which will have a translatable string in mymain.phpfile?Thank you.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘Plugin Translation Localization’ is closed to new replies.