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

Sebastian on "Need help on localizing my plugin"

$
0
0

I'm the author of the Google+ Crossposting plugin. I can't figure out why localisation of the settings form of my plugin to German is not working.

I wrapped all strings in __() function, created the necessary pot, po, and mo files. I added

load_plugin_textdomain('g-crossposting', false, basename(dirname(__FILE__)).'/lang');

to my plugin so that it finds the language files.

Still, no success. The settings form is always in English.

I would really appreciate if anyone can take a look at the code and tell me what I'm missing. Thank you!


Viewing all articles
Browse latest Browse all 8245

Trending Articles