.po Translation file
Text & source code
| MIME type | text/x-gettext-translation |
|---|---|
| Description | Translation file |
| Category | Text & source code |
| Based on | text/plain |
Frequently asked questions
What is a .po file?
A .po file is a “Translation file” (MIME type text/x-gettext-translation).
How do I open a .po file?
With any text editor – Notepad++, Visual Studio Code, or gedit and vim on Linux. The file contains readable text, possibly source code or configuration.
How can you tell a genuine .po file?
No fixed signature at the start of the file is registered for this format; it is recognised mainly by its extension. On Linux and macOS, file --mime-type example.po shows the guessed type.
Which format is .po based on?
Technically a .po file is a subtype of “Plain text document” (text/plain), so programs for that base format can often read it too.
Which MIME type belongs to .po?
The MIME type is text/x-gettext-translation. In the Apache web server: AddType text/x-gettext-translation .po; in nginx: types { text/x-gettext-translation po; }.