Skip to content

Commit cd329b6

Browse files
committed
Switch from Phrase to Lokalise
1 parent 26f45f1 commit cd329b6

File tree

2 files changed

+25
-130
lines changed

2 files changed

+25
-130
lines changed

.phrase.yml

Lines changed: 0 additions & 130 deletions
This file was deleted.

lokalise.sh

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
#!/usr/bin/env zsh
2+
#
3+
# Lokalise CLI v2 can be found here: https://github.com/lokalise/lokalise-cli-2-go
4+
#
5+
# Setting the environment variable LOKALISE_ACCESS_TOKEN is necessary to execute this script.
6+
7+
function lokalise {
8+
lokalise2 \
9+
--token $LOKALISE_ACCESS_TOKEN \
10+
--project-id $1 \
11+
file download \
12+
--format xml \
13+
--unzip-to $2 \
14+
--include-description false \
15+
$@
16+
}
17+
18+
# ui
19+
lokalise 3931709465f04f20a1bc18.55914019 ui/src/main/res --exclude-tags Onboarding,Shop,Scanner
20+
21+
# ui-toolkit
22+
lokalise 3931709465f04f20a1bc18.55914019 ui-toolkit/src/main/res --include-tags Onboarding,Shop,Scanner
23+
24+
# sample app
25+
lokalise 8964099365f434ac71f546.06213099 kotlin-sample/src/main/res

0 commit comments

Comments
 (0)