PO/MO Editor

Description

PO/MO Editor adds a versatile interface to WordPress for editing and recompiling translation files.

.PO File Searching

Any .po files found within the wp-content directory will be listed for editing, with the associated project name and language identified for easier organization and filtering to find what file you need to edit.

Should you want to limit what directories are scanned, you can define the POMOEDITOR_SCAN_BLACKLIST and POMOEDITOR_SCAN_WHITELIST constants with a list of directories to exclude or exclusively include (preferably in your wp-config.php file). Multiple paths can be separated by a colon (:), similar to $PATH in Linux.

Basic and Advanced File Editing

The editor by default only allows you to edit the translated text value of each translation entry. If you need to edit the source text or context values, you can click Enable Advanced Editing, which will also enable editing of the files headers and other metadata.

Each entry must be explicitly saved or the changes to be recorded. When you’re done making changes to the file, click Save Translations to have the .po updated an the .mo file recompiled from it.

As a precaution, the system will backup the original files before overwriting them with the updated data. You will however need to manually restore them via FTP or some other file management method.

Installation

  1. Upload the contents of pomo-editor.tar.gz to your /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Go into the plugin interface page under Tools > PO/MO Editor.
  4. Start editing your gettext files.

FAQ

Installation Instructions
  1. Upload the contents of pomo-editor.tar.gz to your /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Go into the plugin interface page under Tools > PO/MO Editor.
  4. Start editing your gettext files.

Reviews

Does not work for me

Tried on theme twenty fifteen.
Seems that editor not loads all the entries.
When saving these entries are lost.

Just works!

Tried the fancy “Loco Translate” plugin and got “error” on save.
Tried this one, and just worked. Nice and simple.

Does not work

After editing and saving, files are not modified so the plugin does not work (on a WP4.7.5 listed as compatible).

Read all 14 reviews

Contributors & Developers

“PO/MO Editor” is open source software. The following people have contributed to this plugin.

Contributors

Translate “PO/MO Editor” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

Details on each release can be found on the GitHub releases page for this project.

1.4.2

Patched issue with adding translation entries in Advanced Editing mode.

1.4.1

Patched file update check.

1.4.0

Fixed JSON printing issue, dropped metadata editing, minor tweaks to editor UI.

1.3.0

Added revert option (deletes modified version), fixed projects listing and whitelist handling.

1.2.0

Edited files now stored in custom directory, notifications when original is updated, and added comment editing to advanced mode.

1.1.0

Adding entries now only available in Advanced Editing, also polished localization (including fleshing out the POT file).

1.0.0

Initial public release.