How-to: Generate a POT file for a WordPress Theme or Plugin

Translation files are a very important part of the WordPress ecosystem. They allow your plugin or theme to be used by people in all languages. So, you need them. It’s less of a suggestion and more of a requirement 😉

If you are a plugin developer or theme developer and use a Javascript Task Runner like Gulp or Grunt, it’s super easy to add a task there to do it automatically: