Skip to Content
Browse documentation

translate — Command Reference

List configured panel languages or rebuild/compile gettext catalogs.

List configured panel languages or rebuild/compile gettext catalogs.

Requirements

Run as root on the Eenos server. Choose one operation and exactly one panel: --wap, --rapp or --uapp. Rebuild/compile needs the corresponding Django/gettext tooling.

Usage

The following example uses the operation described below; replace example identities and paths before use:

/usr/local/eenos/scripts/translate --list --wap

Arguments and options

Argument / optionUsage and meaning
-rb, --rebuildFlag. Rebuild language files from templates. This will create the gettext po files
-b, --baseFlag. Rebuild only the English base catalog without changing other languages
-l, --listFlag. List configured languages
-c, --compileFlag. Compile the modified po files into mo files
--wap, -wFlag. Execute wap languages operations
--rapp, -rFlag. Execute rapp languages operations
--uapp, -uFlag. Execute uapp languages operations

-h, --help displays this parser's help. Selectors in the same mutually exclusive group cannot be combined. The installed version remains authoritative for available options.

Operational effects

--rebuild writes PO catalogs, --compile writes MO catalogs and --base rebuilds only the English base catalog. Preserve translation work before rebuilding.

Verify the result

Inspect catalog changes and rendered panel translations. Listing configured languages does not prove every translation is complete.

Check operation output and the relevant service/application state. Several legacy wrappers exit successfully after logging a handler failure, so a zero shell exit status alone is not proof of completion.

Back to Administration & Internal Tools · All command-line tools