I want to translate this plugin. This plugin already has translations to some languages, and it has .pot file for adding new languages (as far as I understood from description). Although I never had an experience to work with .po .mo
So I wonder what are the main points. How to create .po .mo files and how to define that the plugin will talk a certain language, I tried to define for examble russian language, but did not find where to do this [I tried to insert define ('WPLANG', 'ru_RU'); in wp-config.php but it does not help].
Tell me more
×
WordPress Answers is a question and answer site for
WordPress developers and administrators. It's 100% free, no registration required.
|
|
||||
|
|
The EditorThere are others, but this is most used: Poedit, a cross-platform gettext catalogs (.po files) editor. The Formats
The Procedure
Observations
|
||||
|
|
|
I suggest also http://poeditor.com/. It is a web-based translation tool that works great with .po, .mo, .pot and other types of files. |
|||
|
|
try this plugin: http://wordpress.org/extend/plugins/codestyling-localization/ You can translate you plugins and themes using this. |
|||
|
|
|
You will want to use POEdit. It's a free application for creating .po/.mo files. I wrote a pretty in-depth tutorial on the entire topic here. You can skip to Step 3 - Create the Translation File For Text Domain. |
|||
|
|
