Skip to main content

crowdin upload translations

Description​

Upload existing translations to your Crowdin project

Synopsis​

crowdin (upload|push) translations [CONFIG OPTIONS] [OPTIONS]

Options​

-l, --language=…
Upload translations for a single specified language. Default: all

--[no-]auto-approve-imported
Approve added translations automatically

--[no-]import-eq-suggestions
Specifies whether to add a translation if it’s the same as the source string

--[no-]translate-hidden
Upload translations to hidden source strings

-b, --branch=…
Specify branch name. Default: none

-V, --version
Display version information and exit

-h, --help
Display help message and exit

--no-progress
Disable progress on executed command

-v, --verbose
Provide more information about the command execution

--no-colors
Disable colors and styles

-c, --config=…
Specify a path to the configuration file. Default: crowdin.yml or crowdin.yaml

--identity=…
Specify a path to user-specific credentials

--dryrun
Print a command output without execution

--tree
List contents of directories in a tree-like format in dryrun mode

--plain
Provide plain, processable output

Config Options​

-T, --token=…
Personal access token required for authentication

--base-url=…
Base URL of Crowdin server for API requests execution

--base-path=…
Path to your project directory on a local machine

-i, --project-id=…
Numeric ID of the project

-s, --source=…
Path to the source files

-t, --translation=…
Path to the translation files

--dest=…
Specify file name in Crowdin

--[no-]preserve-hierarchy
Choose whether to save the directory hierarchy in the Crowdin project

Notes​

  • -l, --language=language_code - defines the language translations that should be uploaded to Crowdin. By default, translations are uploaded to all project’s target languages. Crowdin Language Codes.