Loading textdomain => after plugins loaded
-
First, thanks for a lovely clean plugin.
Just thought I’d let you know that the way/time that the plugin text domain is loaded breaks when also using https://www.ads-software.com/plugins/wp-native-dashboard/
Easy downloads loads with the original locale and so the menus appear in the ‘wrong’ language.See https://i.imgur.com/bS3tjST.png (english / german)
and
https://i.imgur.com/f3ywmAE.png (german / english)Moving the load to after ‘plugins loaded’ should fix it.
According to Otto’s https://ottopress.com/2013/language-packs-101-prepwork/:
Any calls to load_plugin_textdomain should be in a function attached to the “plugins_loaded” action hook.
It had me really puzzled for awhile!
https://www.ads-software.com/plugins/easy-digital-downloads/
- The topic ‘Loading textdomain => after plugins loaded’ is closed to new replies.