mirror of
https://github.com/LizardByte/awesome-sunshine.git
synced 2026-03-11 17:34:13 -05:00
feat(I10n): add localization via CrowdIn (#18)
This commit is contained in:
28
crowdin.yml
Normal file
28
crowdin.yml
Normal 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"
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user