# compile

URL: /bengal/cli/i18n/compile/
Section: i18n
Description: Compile PO to MO files

---

> For a complete page index, fetch /bengal/llms.txt.

Open LLM text
(/bengal/cli/i18n/compile/index.txt)

Share with AI

Ask Claude
(https://claude.ai/new?q=Please%20help%20me%20understand%20this%20documentation%3A%20%2Fbengal%2Fcli%2Fi18n%2Fcompile%2Findex.txt)

Ask ChatGPT
(https://chatgpt.com/?q=Please%20help%20me%20understand%20this%20documentation%3A%20%2Fbengal%2Fcli%2Fi18n%2Fcompile%2Findex.txt)

Ask Gemini
(https://gemini.google.com/app?q=Please%20help%20me%20understand%20this%20documentation%3A%20%2Fbengal%2Fcli%2Fi18n%2Fcompile%2Findex.txt)

Ask Copilot
(https://copilot.microsoft.com/?q=Please%20help%20me%20understand%20this%20documentation%3A%20%2Fbengal%2Fcli%2Fi18n%2Fcompile%2Findex.txt)

Command

#
`bengal i18n compile`

Compile PO to MO files

3Options

## Usage

```
bengal i18n compile [OPTIONS]
```

## Options

Option
Type
Description

`--domain`

`STRING`

Gettext domain

Default:`messages`

`--locale`

`STRING`

Locale(s) to compile, comma-separated (default: all)

`--source`

`STRING`

Source directory path
