Command

bengal i18n compile

Compile .po files to .mo.

Looks for i18n/{locale}/LC_MESSAGES/{domain}.po and writes .mo alongside.

Usage

bengal i18n compile [OPTIONS]

Options

Option Type Description
--domain TEXT

Gettext domain (default: messages)

Default:messages
--locale TEXT

Locale(s) to compile (default: all in i18n/)

Arguments

Argument Type Description
source PATH Default:.