Documentation Index
Fetch the complete documentation index at: https://hyperlocalise.dev/llms.txt
Use this file to discover all available pages before exploring further.
Usage
What this command family does
These commands operate oncrowdin.yml or crowdin.yaml directly.
They are separate from Hyperlocalise native i18n.yml and sync push / sync pull workflows.
Use them when you want Crowdin-compatible file mode:
- source-file upload from
files[].source - translation upload from
files[].translation - translation download/export back into your repo
- optional source download back into
files[].sourcewith--include-sources - branch-scoped upload and download with root
branch:or--branch - strict YAML decoding: only keys Crowdin documents and
hlrecognizes may appear incrowdin.yml(unknown keys still error)
Supported config fields
These drive Hyperlocalise Crowdin file mode:project_idproject_id_envapi_tokenapi_token_envbase_urlbase_url_envbase_pathbase_path_envbranchpreserve_hierarchyfiles[].sourcefiles[].translationfiles[].languages_mappingfiles[].excluded_target_languagesfiles[].skip_untranslated_stringsfiles[].skip_untranslated_filesfiles[].export_only_approved
Crowdin CLI compatibility (parsed, not applied)
The decoder also accepts several Crowdin-documented keys so you can reuse a standardcrowdin.yml without stripping metadata. Hyperlocalise does not implement behavior for these yet; they are ignored after parse:
- Root:
export_languages,pull_request_title,pull_request_labels,commit_message,append_commit_message,pull_request_assignees,pull_request_reviewers - Per file:
type,dest,update_option,export_pattern,translate_content,translate_attributes,content_segmentation,translatable_elements,ignore,translation_replace,first_line_contains_header,scheme,custom_segmentation,escape_quotes,escape_special_characters,labels
Unsupported features
YAML keys not listed above still cause a decode error (KnownFields).
This v1 file-mode implementation does not support:
- TM, glossary, task, screenshot, comment, distribution, or app commands
- permissive “warn and ignore” compatibility mode
- interactive Crowdin project bootstrap
Examples
Validate config:files[].source paths, Hyperlocalise can write the source file even when it is missing locally. For globbed source paths, local glob expansion still determines which configured files are processed.
Or configure the export behavior in crowdin.yml:
--merge-approved currently supports JSON object translation files. It forces an approved-only sparse export for the request, then overwrites only keys present in the approved Crowdin payload.
Downloaded values that still match the source JSON are treated as Crowdin source-language fallbacks and are not merged over existing local translations.