POT File Translation: Translate PO Files Online with AI

Use our free PO file translator to translate a POT file or translate PO files in minutes. Upload .pot files and download .po and .mo files.

How to Translate PO Files and POT Files Online

Step 1: Create a Free PTC Account

Create a free PTC account to start a trial and use human-quality AI to translate 2,500 words into 2 languages at no cost.
Then, select the Manual File Upload option during project setup. This method allows you to upload .pot files and download translated .po and .mo files.

Step 2: Configure AI Translation Settings

Next, go through the setup wizard to:

  • Tell PTC what your product is about, so it can generate human-quality translations
  • Select target languages 
  • Upload .pot files
  • Select output files you want to receive. By default, PTC creates .po files, but you can also configure PTC to create .mo files, .l10n.php files, and .json files
  • Add terms to your glossary (optional)

Step 3: Download Translation Files

Once PTC finishes translating:

  1. Go to the Translations tab to review all translated strings
  2. Go to the Resource Files tab to download your translation files as a ZIP archive

✅ You’ve successfully translated your PO file!

What’s next?

Automating Translations

Once you’ve translated your first PO or POT file manually, you can automate the entire process so translations stay up-to-date as your code changes. PTC gives you two options:

Git Integration

Connect your GitHub, GitLab, or Bitbucket repository to PTC:

  1. Select the repository and branches you want PTC to monitor
  2. Define the output paths for your .pot files
  3. When PTC detects changes, it automatically translates updated strings
  4. Translations are delivered back to your repository via merge request

PTC API

Integrate translations into your CI/CD pipeline:

  1. Use the PTC API to upload your .pot files automatically when your build pipeline generates them
  2. PTC translates the files and returns .po and .mo files in the API response
  3. Your CI system saves the translated files as artifacts or commits them back to your repository

Loading Translations in WordPress

After downloading your translated .po and .mo files from PTC, you need to load them in your WordPress plugin or theme.

You have two options: bundle the translations with your plugin/theme, or import them to WordPress.org (if your project is hosted there).

Option 1

Bundle translations with your plugin or theme (recommended)

  • Place .po and .mo files in your /languages/ directory
  • Add load_plugin_textdomain() or load_theme_textdomain() calls to load the text domain (see the PHP commit and JavaScript commit in our demo plugin repository)

Option 2

Import translations to WordPress.org

  • Create a CLPTE (Cross-Locale Project Translation Editor) account on WordPress.org
  • Wait around 4-6 days for approval
  • Import the translated files to your plugin or theme’s translation project page

See our complete guide on loading WordPress translations for step-by-step instructions and comparisons of both options.

FAQ: WordPress POT and PO File Translation

Try PTC for free

Want to see PTC’s translation quality and ease of use first-hand? Sign up for the trial and translate 2,500 words into 2 languages for free.

Scroll to Top