12 Comments

  1. Justin Tadlock
    at

    Thanks for posting the details on this, Sami. I’ve always used Poedit to generate the file before. This seems like a fairly simple process.

    1. Sami Keijonen
      at

      You’re welcome. It is pretty simple and thanks goes to Tom’s original post.

  2. FxB
    at

    Just tried it. Great tutorial and for once someone using W7.

    I got “some notices” at first as well but after setting the right path variable for MinGW on W7 settings everything is working like a charm.

    Note: In the new created pot file don’t forget to update the settings, only the theme or plugin names are picked from the scripts 😉

  3. Daniel Koskinen
    at

    Thanks! This is an excellent tip.

    1. Sami Keijonen
      at

      Your welcome Daniel. I’m glad you find it useful.

  4. Anand Kumar
    at

    Hello Sami,

    I just used this technique. It is really easy. Thanks for sharing.

    1. Sami Keijonen
      at

      Your welcome Anand.

      Note for everybody: When using Update from POT file in Poedit, it doesn’t clean up the obsolete text strings. You’ll have to do it manually opening up .po file and look for the end of the file. Just delete all the strings that starts with `#~`. Notice the `~` sign.

  5. FxB
    at

    With the last revision of the WordPress i18n tool, the function should be from that folder:

    php makepot.php wp-plugin path-to-your-plugin text-domain-slug.pot

  6. Ruairi Phelan
    at

    Thanks Sami

    This was very straight forward and a great help 🙂

    1. Sami Keijonen
      at

      You’re welcome! Original thanks goes to Tom and his post.

  7. Drab
    at

    What about https://poeditor.com? I’ve been using it in a while now and I’d never go back to Poedit. It has a friendly UI and very useful features such as translation memory, github integration and many others.

    1. Sami Keijonen
      at

      This article is not about tools how you translate themes or plugins. It’s more about how plugins/themes authors can create solid .pot file. Other than that poeditor.com is good service. But I really haven’t used it yet.

Comments are closed.