PO Composer | Plugin to Manage Localization Files
What is PO Composer for?
Any of you have probably faced the problem related to theme localization for WordPress. To be more specific, the localization itself do not cause any problems, but futher updates may bring some troubles: we get a new .po-file, where some lines have changed, some have added, and some of them have deleted. And all of it is scattered about the file in different place!
For instance, you bought the theme that includes only the english version. Normally, these are the files “en-EN” or “en-GB” located in the subfolder “languages of the theme folder. You need translation into your mother language, e.g. German. You have copied the files “en-GB.po”and “en-GB.mo” inside the folder ‘language’ and have named them “de-DE.po”and “de-DE.mo” respectively.
Then, you have launched the programm for editing the .po-files (e.g., POEdit) and translated all strings into German. Congrats! You’ve done such a huge job!
However, after a while you find out that an update of your theme was released! You download it and… here comes the most interesting part The translation file has changed! It now has new lines, and some of the old ones have changed. How to find what exactly have changed? Obviously, you don’t want to translate it all over again…
Or, you simply want to create translation file for your languange, but you don’t have a .po-file editor. Sure, you can edit a .po-file using a regular text editotr. But how to get a corresponding .mo-file?
For many of customers, these problems become one of the reasons why they stop updating their themes. Of course, another good reason is the fact, that users have already made a lot of chages to the theme (logo, style tables etc).
By the way, to make update of WordPress themes easier, it is not recommended to make changes into the theme files, it is preferable to create a child theme based on your theme, and make all changes there. In that case, after updating of the parent theme, you at least won’t lose the changes you’ve made.
What We Offer?
Plugin “PO Composer” will help you solve one of the problems related to theme update: it will help you easily find new and not changed strings for translation. Basically, this plugin will simply prepare an updated translation file for you, where all the strings you have translated before will be added. If you like, you’ll be able to move all translated strings to the end of the file. And to do (to be more precise, to complete) translation will be easy as ABC. Using the plugin you will also be able to edit any .po-files (both already existing on your server and the ones being uploaded), and then generate corresponding .mo-fiels for them. If the plugin is allowed a record to the folder “languages”, it will be able to update the .po-file in the folder with the current theme independently!