Thread Starter
tom3r
(@tom3r)
Hi Alex!
Got it, and works perfectly!
Thank you for your help.
Tamas
the issue was fixed in version 3.1.0
Thread Starter
tom3r
(@tom3r)
Hey Alex!
Thanks for the update.
I am using Loco translate plugin to localize the strings. The problem that I encountered now, is that the custom translation files are not loading, only if I save it the system folder which is prone to overwrites at updates.
I found this article about this problem: https://localise.biz/wordpress/plugin/faqs/custom-folder
In the beta you sent me, there were no problems like this. What do you suggest? Will the translations be ‘safe’ in the default system folder as well?
Thanks,
Tamas
hi Tamas
Our free plugin loads translations from wordpress.org , so we don’t use load_plugin_textdomain()
More https://developer.wordpress.org/plugins/internationalization/how-to-internationalize-your-plugin/#loading-text-domain
But you still can load Loco translations, use this code
add_action( 'init', function () {
load_plugin_textdomain( 'woo-order-export-lite');
});
thanks, Alex
Thread Starter
tom3r
(@tom3r)
I understand.
The code also works perfectly.
Thanks Alex.