9 comments

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.

Step #1

Open up your existing PO file with Poedit software.

Step #2

Go to Catalog and select Update from POT file

Step #3

First, change the file type option to All Files, then select the new PO file.

Step #4

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 ok button.

Step #5

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.

Step #6

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.

9 Comments

  • I have the Marketpress plugin. I don't see any files in the Marketpress directory that matches the filename in the updates folder. Where should I be looking to update those files:
    flexmarket_181.po
    fullwidth_105.po
    mp_anywhere_cart_100.po
    mp_dynamic_grid_170.po

    Kris
    December 20, 2013 - 10:19 pm
    • Those PO files are for themes and plugins in this site. As for MarketPress translation, kindly refer to WPMU DEV site. However, if you want to learn how to translate themes and plugins, you can refer to this tutorial: http://www.marketpressthemes.com/blog/translating-themes-plugins/

      Nathan Onn
      December 21, 2013 - 9:00 am
  • Nathan,
    What is the significance of this update?
    -Rich

    Richmanray
    December 22, 2013 - 12:01 am
    • This is for translation only. You can totally ignore this if you want to stick with English.

      Nathan Onn
      December 22, 2013 - 2:05 pm
  • Thanks
    -Rich

    Richmanray
    December 22, 2013 - 2:59 pm
  • Thanks

    Dorigo
    August 20, 2014 - 9:46 am
  • When i press to Catalog and choose a existed translate PO file, its not merging. what could be a problem ?

    Yasin
    September 8, 2014 - 8:33 am
    • You'll need to open up the existing PO file first, then use the new PO file merge with the existing one.

      To be safe, do make sure you make multiple copy of the existing PO file. Just in case something wrong happen, you won't lose all the editing you've done.

      Nathan Onn
      September 9, 2014 - 9:43 am
  • Very useful post. I just used it to update an extended theme language because of the inclusion of new extensions. You just saved me over a thousand lines of translation! Thank you

    Damián
    January 14, 2015 - 3:48 pm

Leave a Reply

Head up! You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>