NAME

serge - Serge command launcher

SYNOPSIS

serge <command> [command-specific-parameters] [--command-specific-options] [--debug]

Run serge help <command> for help on a particular command.

DESCRIPTION

serge scans all configuration files in the specified directory and for each found file performs resource localization cycle, namely:

  • Extracting strings from original (e.g. English) resource files and populate translation database

  • Scan previously generated translated files, extract translations from there and put them into translation database

  • Generate translation files with original strings and existing translations

  • Generate localized resource files by taking original resource files and replacing original strings with translated ones.

OPTIONS

--version

Print Serge version information and exit.

--dry-run

Just report and validate configuration files, but do no actual synchronization/localization work.

-l xx[,yy][,zz], --lang=xx[,yy][,zz], --language=xx[,yy][,zz] --languages=xx[,yy][,zz]

An optional comma-separated list of target languages

-j xx[,yy][,zz], --job=xx[,yy][,zz], --jobs=xx[,yy][,zz]

An optional comma-separated list of jobs to process

--force

Disable optimizations and force generate all the files

--recreate-ts-files

With this mode enabled, translation files will not be parsed, their existing translations will be discarded, and the files will be forcedly generated again. This is useful when removing translations from the database and forcing translation files to be in sync with the database.

--debug

Print debug output

SEE ALSO

serge website