Skip to content

Commit 5177236

Browse files
endilieySimenB
authored andcommitted
chore: download only enabled languages translation files (#8752)
Closes #8707
1 parent f857d30 commit 5177236

File tree

3 files changed

+794
-269
lines changed

3 files changed

+794
-269
lines changed

.circleci/website.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,11 @@ else
2121
sudo dpkg -i crowdin.deb
2222
# translations upload/download
2323
yarn crowdin-upload
24-
yarn crowdin-download
24+
# download only enabled languages
25+
for lang in ja es-ES ro zh-CN pt-BR ru uk
26+
do
27+
yarn crowdin-download -l $lang
28+
done
2529
# build and publish website
2630
GIT_USER=docusaurus-bot USE_SSH=false yarn publish-gh-pages
2731
else

website/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"rename-version": "docusaurus-rename-version"
1717
},
1818
"dependencies": {
19-
"docusaurus": "^1.10.0"
19+
"docusaurus": "^1.12.0"
2020
},
2121
"devDependencies": {
2222
"crowdin-cli": "^0.3.0",

0 commit comments

Comments
 (0)