-
-
Notifications
You must be signed in to change notification settings - Fork 854
Expand file tree
/
Copy path.weblate
More file actions
38 lines (29 loc) · 804 Bytes
/
Copy path.weblate
File metadata and controls
38 lines (29 loc) · 804 Bytes
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
# Weblate configuration for PocketPal AI
[weblate]
url = https://hosted.weblate.org/
[keys]
# API key will be set via environment variable WEBLATE_TOKEN
[pocketpal-ai/translations]
url = https://hosted.weblate.org/projects/pocketpal-ai/translations/
# File format configuration
file_format = json-nested
new_lang = add
source_language = en
# File paths
filemask = src/locales/*.json
template = src/locales/en.json
# Translation settings
allow_translation_propagation = true
enable_suggestions = true
suggestion_voting = true
check_flags = placeholder-format
# Workflow
commit_message = i18n: update translations from Weblate
# Quality checks
enforced_checks =
placeholder-format,
json-format,
duplicate
# Auto-translation
auto_translate_mode = suggest
auto_translate_threshold = 80