Skip to content

Commit 8867511

Browse files
authored
ci: create a config file for the crowdin github Action
As written in the manual, create crowdin.yml with the config info for the Crowdin github Action. Manual location: https://github.com/marketplace/actions/crowdin-action
1 parent 91654a7 commit 8867511

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

crowdin.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# This file has the info necessary for the setup of the Crowdin github Action.
2+
# The info was taken from the page of the github Action: https://github.com/marketplace/actions/crowdin-action
3+
4+
# By default, the Action will look for the crowdin.yml file in the root of the repository, so I put this file in there.
5+
# Feel free to discuss moving it elsewhere if you can think of a better location.
6+
# You can specify a different path using the "config" option in this file.
7+
8+
"project_id_env": "CROWDIN_PROJECT_ID"
9+
"api_token_env": "CROWDIN_PERSONAL_TOKEN"
10+
"base_path": "."
11+
12+
"preserve_hierarchy": true
13+
14+
"files": [
15+
{
16+
"source": "locales/en.yml",
17+
"translation": "locales/%two_letters_code%.yml"
18+
}
19+
]

0 commit comments

Comments
 (0)