Understanding .pot, .po, and .mo Files

The 3 File Types

FileWhat It IsWho Creates ItEditable?
.potTemplate with all translatable stringsYour plugin/theme build toolsNo
.poTranslations for one languagePOForge (or you manually)Yes
.moCompiled binary WordPress readsPOForge (or local tools)No

The Translation Pipeline

Diagram: POT → PO → MO pipeline.

Where Do .pot Files Come From?

Your WordPress development tools (WP-CLI, build scripts) generate .pot files. Check your plugin's /languages/ folder.

💡Tip: Check Your Plugin's /languages/ Folder
If you don't have a .pot file, look inside your plugin's /languages/ directory.

What POForge Does With Each File

Accepts: .pot files (for new translations) and .po files (for editing/updating). Generates: translated .po files and compiled .mo files.

Was this article helpful?