Translate Wordpress Plugin -
i have translated plugin in german.
membership 1.x
i took language.pot file , translate lines.
after changed information:
i have uploaded file server , replaced old one... stil in english... blog in german "de_de"
can me?!
you shouldn't translate .pot
file (it's source of translations), should instead copy , name after textdomain specified inside plugin (assuming it's written support translation). if there other translations made, @ name of files, otherwise line in plugin:
load_plugin_textdomain('name', false, dirname(plugin_basename(__file__)));
here name
should call file, followed locale specification i.e.:
name-de_de.po
then have compile .po
file .mo
(there several ways depending on operating system) , upload in correct directory.
Comments
Post a Comment