This document describes how to pull & push Crowdin translations via Crowdin CLI.
- Install Crowdin CLI: Crowdin CLI Installation Page.
- Get an API token on Crowdin Profile Settings > API Keys.
- Copy the example
crowdin.ymlconfig file:
cp crowdin.yml.example crowdin.yml- Fill in your API token in your
crowdin.ymlconfig file:
#
# Your Crowdin credentials
#
'project_id': '453244'
'api_token': '<YOUR_CROWDIN_API_TOKEN_HERE>' # <--- HERE
'base_path': './src/locales'
'base_url': 'https://api.crowdin.com'To pull new translations, do:
crowdin pullLikewise, to push translations:
crowdin push