-
Notifications
You must be signed in to change notification settings - Fork 19
/
localizely.yml
42 lines (39 loc) · 1.93 KB
/
localizely.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
config_version: 1.0 # Only 1.0 available
project_id: 062e9d52-7961-4b8c-9079-a85bca6ed73a # Your project ID from: https://app.localizely.com/projects
file_type: flutter_arb
branch: Version_1.0 # Optional. Your branch in Localizely project to sync files with.
upload:
files: # List of files for upload to Localizely. Usually it is just one file used for the main locale
- file: lib/l10n/app_en.arb
locale_code: en
params:
overwrite: true # Optional, default: false. If the translation in a given language should be overwritten with modified translation from uploading file.
reviewed: false # Optional, default: false. If uploading translations, that are added, should be marked as Reviewed.
tag_added: # Optional. List of tags to add to new translations from uploading file.
- added
tag_removed: # Optional. List of tags to add to removed translations from uploading file.
- removed
tag_updated: # Optional. List of tags to add to updated translations from uploading file.
- updated
download:
files: # List of files for download from Localizely.
- file: lib/l10n/app_en.arb
locale_code: en
- file: lib/l10n/app_es.arb
locale_code: es
- file: lib/l10n/app_ja.arb
locale_code: ja
- file: lib/l10n/app_zh-HK.arb
locale_code: zh_HK
- file: lib/l10n/app_zh.arb
locale_code: zh
- file: lib/l10n/app_hi.arb
locale_code: hi
params:
export_empty_as: skip # Optional, default: empty. How you would like empty translations to be exported. Allowed values are `empty` to keep empty, `main` to replace with the main language value, or `skip` to omit.
exclude_tags: # Optional. List of tags to be excluded from the download. If not set, all string keys will be considered for download.
- removed
include_tags: # Optional. List of tags to be downloaded. If not set, all string keys will be considered for download.
- new
- added
- updated