How to use translation of another plugin?
-
Suppose I have a plugin called “my-plugin” and a premium version called “my-plugin-pro”.
They each have their own locale setting with the name of the plugin and appropriate language files in e.g. “my-plugin-pro-nl_NL.po” for Dutch.How can I then use the translations available for “my-plugin” in “my-plugin-pro”?
Can I just load the textdomain “my-plugin” in the premium version?
Or would it suffice to use the locale like “__(‘x’, ‘my-plugin’)” in the premium version?
Will this be different when the free “my-plugin” is registered in the WP org repository and supported by the plugin translation service available from “translate.www.ads-software.com”?Hope to get some answers.
Thanks!
- The topic ‘How to use translation of another plugin?’ is closed to new replies.