Quantcast
Channel: WordPress › Support » Forum: Hacks - Recent Topics
Viewing all articles
Browse latest Browse all 8245

Mark O'Donnell on "Internationalization of Shared Libraries across Plugins"

$
0
0

So I have a shared library that I use across several plugins. I just wrap the functions with function_exists and deal with versioning. So far so good.

I've just changed all my plugins so the text-domain matches the plugin slug, and am now relying on the new ploygots deal for translation. BUT some of the shared libraries have user interface functions with 'wrapped' text. So how can I deal with this in 'the new world' of internationalization? What text-domain do I use so the shared libraries support translation across all plugins?

Thanks for any hints.


Viewing all articles
Browse latest Browse all 8245

Trending Articles