localizing plugins
-
Hi,
I’ve localized a plugin with
$ xgettext --keyword=__ --keyword=_e -j --from-code=UTF-8 -o plugin.pot *.php
I translated it all and made the .mo file from the .po
$ msgfmt plugin-it_IT.po -o plugin-it_IT.mo
Now, what I have to write in the plugin file? With this line the plugin outputs in english, instead of italian:
load_plugin_textdomain('onlinelist','my-plugins/');
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.