-
Notifications
You must be signed in to change notification settings - Fork 11
/
simplelocalize.yml
54 lines (39 loc) · 2.13 KB
/
simplelocalize.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# Need help with the configuration? Contact us: [email protected]
# Common, required configuration
apiKey: YOUR_PROJECT_API_KEY
##############################################################################################
# 'simplelocalize upload' ## Learn more: https://simplelocalize.io/docs/general/file-formats/
##############################################################################################
# Input path for source translations.
# Placeholders:
# - {lang} - language key (optional)
# - {ns} - namespace (optional)
# Examples:
# - ./translations_{lang}.json
# - ./translations_en/{ns}.json
# Use '--dryRun' parameter to see which files will be uploaded without actually uploading them.
uploadPath: ./translations_en.json
# Specify language key for uploaded translations. Language key must match the language key used in SimpleLocalize.
uploadLanguageKey: en
# Input format for translations: https://simplelocalize.io/docs/general/file-formats/
uploadFormat: single-language-json
#####################################################################################################
# 'simplelocalize download' ## Learn more: https://simplelocalize.io/docs/cli/download-translations/
#####################################################################################################
# Output path for downloaded translations.
# Placeholders:
# - {lang} - language key (optional)
# - {ns} - namespace (optional)
# Examples:
# - ./translations_{lang}.json
# - ./translations_{lang}/{ns}.json
downloadPath: ./translations_{lang}.json
# Specify language keys which you want to download, by default all languages are downloaded.
# downloadLanguageKey: ['pl', 'es']
# Output format for translations: https://simplelocalize.io/docs/general/file-formats/
downloadFormat: single-language-json
#########################################
# 'simplelocalize auto-translate' ## Learn more: https://simplelocalize.io/docs/cli/other-commands/#auto-translate-project
#########################################
# Specify language keys which you want to auto-translate, leave empty to auto-translate all languages.
# autoTranslateLanguageKeys: ['en', 'de']