feat(I10n): add localization via CrowdIn (#18)

This commit is contained in:
ReenigneArcher
2024-12-14 13:41:52 -05:00
committed by GitHub
parent c6e81871de
commit be9879ac28

28
crowdin.yml Normal file
View File

@@ -0,0 +1,28 @@
---
"base_path": "."
"base_url": "https://api.crowdin.com" # optional (for Crowdin Enterprise only)
"preserve_hierarchy": true
"pull_request_title": "chore(l10n): update translations"
"pull_request_labels": [
"crowdin",
"l10n"
]
"files": [
{
"source": "/*.md",
"dest": "/%original_path%/%original_file_name%",
"translation": "/%original_path%/%file_name%_%two_letters_code%.%file_extension%",
"excluded_target_languages": [
"en"
],
"languages_mapping": {
"two_letters_code": {
# map non-two letter codes here, left side is crowdin designation, right side is babel designation
"en-GB": "en_GB",
"en-US": "en_US"
}
},
"update_option": "update_as_unapproved"
}
]