How To Merge Two PO Files Using POEdit
In this tutorial, I'll show you how to merge two PO files (new and old) together, so that you don't have translate everything all over again. Before we begin, first you'll need to download and install Poedit software in your computer.
Also, I'll be using the PO file for
Floating Cart plugin as the example. However, the same steps can be applied to all other themes and plugins.
Open up your existing PO file with Poedit software.
Catalog and select
Update from POT file
First, change the file type option to
All Files, then select the new PO file.
Next, you'll see a mini box which includes all the new strings as well as obsolete string from the new PO file. Proceed by clicking the
Once the import is completed, all the new string from the new PO file will be added and your existing (translated) string will remain intact as well.
Finally, proceed to translate all the new string into your preferred language.
Congratulations! You've successfully updated your PO file.
As usual, if you have any questions please comment below or send me an email via the contact form.