where to set the PO file for a plugin?

I have a Cimy user plugin and I want to make translations and then force the Cimy user to read from my translation. Should I define the language in wp-config.php in the root folder?
I do not know where to change it?

I have define('WPLANG', 'fa_IR'); in wp-config.php and it is reading from path

Read More

wp-contentlanguages

Should I change the fa_IR PO edit and just add the ones from Cimy user in the bottom of the WordPress fa_IR PO? or I should use separate file?

Related posts

2 comments

  1. First of all, the plugin should support translation.

    If it is so, the directory where to put po/mo file is defined by plugin, usually they are in a directory /langs or /languages in plugin directory.

    That directory is (should be) defined by plugin using load_plugin_textdomain

    The plugin you are using has a subfolder cimy-user-extra-fields/langs where you can find the existing localization files.

    Your files (cimy_uef-fa_IR.po / cimy_uef-fa_IR.mo), should be putted in the same folder.

    To create these files you can use the software PO Edit a powerful software, maybe not very easy to use.

    If you already don’t know it I suggest you the plugin Codestyling Localization a powerfull well written WP plugin that will help you trought the entire process of transalitng plugins, themes and wordpress itself.

  2. All .po, .mo files should be within your plugin’s folder, that is wp-content/plugins/myplugin.
    For aesthetic purposes, save the .mo, .po files within the languages folder within myplugin.
    Hope this helps

Comments are closed.