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.php file:
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 include each file which will have a translatable string in my main.php file?
Thank you.