Translate PO files for your next language

Upload your PO file and choose a target language. Translate the messages your users see, with the goal of keeping the source strings and catalog structure intact. Download the translated file for review in your project.

forgefile.com PO

PO workflow

Translation
Drop your file here or click to browse from your device
Formatting preserved .PO, .POT

Translation example

A gettext .po catalogue, English to Spanish

A five-message catalog written for this page. The source messages and five file references match in the result, all five translations are filled in, and the %(count)d placeholder is retained.

Source

app-messages-en.po → app-messages-es.po before translation

Result

app-messages-en.po → app-messages-es.po after translation
  • Source messages and five file-reference comments unchanged

  • %(count)d placeholder kept in the translation

  • Language header switched to the target language

2026-10-08 verified — Amanda Lee

PO features

Compare source and translated messages

A PO catalog keeps the source text beside its translation. Use that pairing to review terminology and confirm that each message still says what your interface needs.

Inspect a real catalog example

Download the five-message English and Spanish files below. Compare their source strings, file references and named count placeholder before trying your own catalog.

Keep the catalog available for review

Translate the messages without changing their identity

A PO catalog keeps each source message in msgid and its translation in msgstr. The goal is to translate the text your users read while retaining the source messages that identify it. The GNU gettext manual explains the entry format and its comment types.

Keep a copy of your original catalog so you can compare the download. Short labels need particular attention: a word such as “Open” can name an action or describe a state. Read those translations where they appear in your application before approving them.

Compare the English and Spanish example

The downloadable example contains five messages. All five msgid values and their file-reference comments match in the result; the five empty translations are filled in Spanish. The named placeholder %(count)d also appears unchanged in the translated message, and the Language header changes from en to es.

Both files and their full previews are below. This example has no msgctxt entries or gettext plural entries, so it does not demonstrate how those cases are handled. The message about unread messages uses a count placeholder, but that alone is not a plural-form test.

Check the catalog before it reaches users

Compare placeholders with the source and read the translated labels in the interface. A preserved placeholder is useful only if the sentence still makes sense when your application inserts a value. Longer translations may also need room in buttons or menus.

For catalogs with plural entries, review the indexed translations and the target language’s Plural-Forms header together. Use your project’s gettext validation and build checks before release. GNU’s msgfmt documentation describes catalog checks; passing them does not replace a language review.

How to translate your PO file

  1. 1

    Upload a copy of your PO file

    Keep the original catalog for comparison, then upload the .po file you want to translate.

  2. 2

    Choose the target language

    Select the language your users need. Keep your project’s preferred terms nearby for the review.

  3. 3

    Translate and download the catalog

    Run the translation and save the resulting PO file so you can compare it with the original.

  4. 4

    Review it in your project

    Check the translated messages and placeholders, run your catalog checks, and read the text in its actual interface before release.

Questions about translating PO files

Should the msgid text change when I translate a PO file?

Keep the source messages unchanged when translating an existing catalog; the translated wording belongs in msgstr. In the downloadable example, all five source messages match between the English and Spanish files.

What does the count placeholder in the example prove?

The literal %(count)d is present in both the source message and its Spanish translation. That checks one named placeholder in one file. There is no msgid_plural or indexed msgstr entry in this example, so it does not test plural-form handling.

How should I review a short label with more than one meaning?

Find the screen or action where the label appears and choose wording that fits that use. Gettext can distinguish identical source text with msgctxt, but the sample here has no context entries. Check any context entries in your own catalog separately.

Can I release the downloaded file immediately?

Review it first. Compare the placeholders and source messages, check any plural entries, and run your project’s catalog validation. Then test the text in the application; a valid file can still contain a misleading label or text that does not fit a button.

Translate your PO catalog

Upload a copy of your PO file, choose a target language, and review the translated messages before release.