Multi text domain
-
Hi, I have two plugins: the main plugin and the add-on. Files from the add-on are included into the main plugin, if the add-on is activated.
I cannot translate the strings in the add-on. I tried using two different text domains, I tried using the same text domain (the one of the main plugin), I tried a mix of the two. No solution works.Try n. 1:
plugin -> plugin-xx_XX.mo and .po in folder plugin
addon -> addon-xx_XX.mo and .po in folder addonTry n. 2:
plugin -> plugin-xx_XX.mo and .po in folder plugin
addon -> plugin-xx_XX.mo and .po in folder addonWhat I understand is that if the add-on files are included into the plugin files, they somehow become part of the plugin, but the rule is that the text domain must be the same of the folder of the pugin (slug)
Any ideas?
Thanks!
The topic ‘Multi text domain’ is closed to new replies.