2

I have two plugins lets name them PluginA and PluginB. Both are part of the same project I want to internationalize the text.

The question is if I use same textdomain 'myplugin' but make two files one in PluginA and other in PluginB and load both using

load_plugin_textdomain( 'myplugin', from PluginA )
load_plugin_textdomain( 'myplugin', from PluginB )

is that OK, or it overwrites the locales.

Thanks in advance.

2

1 Answer 1

0

In simple words "NO" it is not recommended until one plugin is not a subset of another plugin.

If you want multi-language use different.

Thanks,

Vee

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.