Automate your frequent localization tasks such as uploading source files and downloading translations.
Use Bitbucket Pipelines with Crowdin CLI to automate your frequent localization tasks such as uploading source files, downloading translations or anything else you can do with Crowdin CLI.
Bitbucket Pipelines is a framework that lets you configure and perform specific operations on your repositories every time you push code to the source. We can run tests, builds, move code, or restart processes, as well as synchronize localization resources between repo and Crowdin project.
Push the crowdin.yml
configuration file to the repository.
Use Environment Variables for API Credentials:
"project_id_env": "CROWDIN_PROJECT_ID"
"api_token_env": "CROWDIN_PERSONAL_TOKEN"
See the Variables and secrets to learn more about defining variables in Bitbucket Pipelines.
You need to set up the bitbucket-pipelines.yml
configuration file (or extend the existing one):
image: node:20
pipelines:
custom:
crowdin:
- step:
trigger: automatic
script:
- echo $CROWDIN_PROJECT_ID
- echo $CROWDIN_PERSONAL_TOKEN
- npm install -g @crowdin/cli
- crowdin push
For more information about Crowdin CLI commands visit the official Crowdin CLI website.
Crowdin is a platform that helps you manage and translate content into different languages. Integrate Crowdin with your repo, CMS, or other systems. Source content is always up to date for your translators, and translated content is returned automatically.
Learn MoreReleased on Oct 20, 2023
Updated on Oct 4, 2024
Published by Andrii Bodnar
Identifier:bitbucket-pipelines