Quantcast
Channel: Topic Tag: plugin | WordPress.org
Viewing all articles
Browse latest Browse all 26892

peakpp on "How to translate output from plugin"

$
0
0

I use a plugin called Social Mobile Platform plugin. In it is a folder called language, and inside it there are 2 files, social-mobile-en_GB.po, social-mobile-en_GB.mo. This means there is already support for languages.

Problem is, the original files are translating from "nromal" English to GB -- British English. There is no variance between EN and GB in this file, so it is impossible to tell if it works out out the box.

I translated the files and crated 2 files, social-mobile-nb_NO.po, social-mobile-nb_NO.mo I put them in my plugin languages folder. But translation does not work.

Now I can't find where in the javascript these files are called out. Language support for the THEME is called out in the wp-config file, line 72.

Could I add an additional callout for social-mobile-nb_NO.po here? Or is there a serapate callout in one of the plugin files?


Viewing all articles
Browse latest Browse all 26892

Trending Articles