What's a .pot File?
.pot files allow you to create a template for translators in order to create their own .po files, which can then be sent back to you or if you have an application that you allow users to download, they can be used on their own versions..pot files have the same file format as .po files, except that they don't contain any translated strings.
Therefore you create them exactly as you would a .po file from the source (your site files).- Fire up PoEdit and open up File | Preferences... to get the dialog below. On the Editor tab, have a look at the settings, and you may wish to set them as the following:
- Now, create a new catalogue, File | New catalogue.... Fill in the main properties: Then, enter the paths to check for GETTEXT strings: Once you click, OK, save the file with a .pot extension: