Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Crowdin configuration file example
project_id: $PROJECT_ID #open project settings and go to API section
api_token: $API_TOKEN #open profile settings and go to API & SSO > New Token > create Token
base_path: "./"
base_url: "https://api.crowdin.com"
preserve_hierarchy: true
files:
-
source: '/website/docs/**/*.md' #source files filter
translation: '/website/translated_docs/%locale%/**/%original_file_name%' #where translations are stored
languages_mapping: &anchor
locale:
'en': 'en'
'vi': 'vi'
-
source: '/website/docs/*.md' #source files filter
translation: '/website/translated_docs/%locale%/%original_file_name%' #where translations are stored
languages_mapping: *anchor
-
source: '/website/i18n/en.json'
translation: '/website/i18n/%locale%.json'
languages_mapping: *anchor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment