2022-08-08 00:26:40 +00:00
|
|
|
---
|
2022-03-13 20:29:51 +00:00
|
|
|
"base_path": "."
|
|
|
|
"base_url": "https://api.crowdin.com" # optional (for Crowdin Enterprise only)
|
2024-03-22 23:54:12 +00:00
|
|
|
"preserve_hierarchy": true # false will flatten tree on crowdin, but doesn't work with dest option
|
2024-08-16 15:19:57 +00:00
|
|
|
"pull_request_title": "chore(l10n): update translations"
|
2022-04-18 18:53:28 +00:00
|
|
|
"pull_request_labels": [
|
|
|
|
"crowdin",
|
|
|
|
"l10n"
|
|
|
|
]
|
2022-03-13 20:29:51 +00:00
|
|
|
|
2022-08-08 00:26:40 +00:00
|
|
|
"files": [
|
2022-03-13 20:29:51 +00:00
|
|
|
{
|
2022-08-08 00:26:40 +00:00
|
|
|
"source": "/locale/*.po",
|
2024-03-22 23:54:12 +00:00
|
|
|
"dest": "/%original_file_name%",
|
2022-08-08 00:26:40 +00:00
|
|
|
"translation": "/locale/%two_letters_code%/LC_MESSAGES/%original_file_name%",
|
2022-03-13 20:29:51 +00:00
|
|
|
"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"
|
|
|
|
}
|
2024-03-22 23:54:12 +00:00
|
|
|
},
|
|
|
|
"update_option": "update_as_unapproved"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"source": "/src_assets/common/assets/web/public/assets/locale/en.json",
|
|
|
|
"dest": "/sunshine.json",
|
|
|
|
"translation": "/src_assets/common/assets/web/public/assets/locale/%two_letters_code%.%file_extension%",
|
|
|
|
"update_option": "update_as_unapproved"
|
2022-03-13 20:29:51 +00:00
|
|
|
}
|
|
|
|
]
|