We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f598f0b commit 5fa51b3Copy full SHA for 5fa51b3
simx/bin/update-translations.sh
@@ -2,7 +2,7 @@
2
#
3
# Partial automation of updating translations.
4
5
-# New languages adding below and code change in settings.tsx
+# New languages adding below and code change in TranslationProvider.tsx.
6
7
8
set -euxo pipefail
@@ -12,12 +12,12 @@ if [ $# -eq 0 ]; then
12
exit 1
13
fi
14
15
-languages=""
+languages="es-ES ja ko nl pl pt-BR zh-TW"
16
17
mkdir -p crowdin/translated
18
for language in $languages; do
19
lower="${language,,}"
20
- prefix="${1}/${language}/new/apps/makecode-ml-simulator"
+ prefix="${1}/${language}"
21
cp "${prefix}/ui.en.json" "lang/ui.${lower}.json"
22
done
23
npm run i18n:compile
0 commit comments