const L10N_HELP: &str = "
Copy localization files (.ftl) and optimize for release
The request file:
source/l10n.zr-l10n
| # comment
| path/dev-l10n
Copies the `path/dev-l10n` dir to:
target/l10n
Paths are relative to the Cargo workspace root
Filter:
Only localization files are included
**/*.ftl
Development langs are excluded
!./pseudo*
!./template
Only lang folders that have local translations are included
If ./{lang}/deps/** exists but no ./{lang}/*.ftl exists it is excluded
Comments are stripped
Subsetting:
If a l10n subset profile is found is is applied to the dependency localization
The subset profile is an allow list, see the docs `zng::l10n` for how to create one
The subset profile is resolved in this order:
ZNG_L10N_PROFILE_FILE env if is set
Must be set to a .subset file path, relative to the Cargo workspace root
If the file is a {name}.rec.subset auto includes a {name}.subset and vice versa
res/optimization-profiles/zng-ext-l10n.rec.subset
Default location, also includes zng-ext-l10n.subset if present
{l10n-path}/*.subset
If multiple files match all are used
";