Skip to main content

crowdin file upload

Description​

Upload a file to a Crowdin project

Synopsis​

crowdin file upload <file> [OPTIONS]

Arguments​

<file>
Path to file to upload

Options​

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

-l, --language=…
Target language identifier

--xliff
Is file for offline translation

--no-auto-update
Specify whether to update the file in the Crowdin project if it already exists

--label=…
Attach labels to strings (multiple labels can be specified)

-d, --dest=…
File destination in the Crowdin project

--context=…
File context

--type=…
File type

--parser-version=…
Parser version. Must be used together with the 'type' option

--excluded-language=…
Specify languages the sources should not be translated into. Can be specified multiple times

--cleanup-mode
Specify whether to delete all strings with a system label that do not exist in the file (string-based projects only)

--update-strings
Specify whether to update strings that have the same keys (string-based projects only)

-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

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​

The --dest path is branch-relative: don't prefix it with the name of the branch specified by -b, --branch.

See also​