Skip to main content

crowdin upload translations

Description​

Upload translation files to a Crowdin project

Synopsis​

crowdin upload translations [OPTIONS]

Options​

-b, --branch=…
Specify branch name (default: "none")

-l, --language=…
Upload translations for a single specified language

--dryrun
Print a command output without execution

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

--auto-approve-imported
Approve added translations automatically

--import-eq-suggestions
Specifies whether to add a translation if it's the same as the source string

--translate-hidden
Upload translations to hidden source strings

-h, --help
Display help message and exit

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

--preserve-hierarchy
Save the directory hierarchy in the Crowdin project

--no-preserve-hierarchy
Strip the common parent directory from the file paths in the Crowdin project

Global Options​

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

-c, --config=…
Specify a path to the configuration file

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

--no-colors
Disable colors and styles

--no-progress
Disable progress on executed command

-o, --output=…
Change output format (choices: "json", "toon", "plain")

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.