Version 1
[yaffs-website] / web / core / modules / locale / config / schema / locale.schema.yml
1 # Schema for the configuration files of the Locale module.
2
3 locale.settings:
4   type: config_object
5   label: 'Translate interface settings'
6   mapping:
7     cache_strings:
8       type: boolean
9       label: 'Cache strings'
10     translate_english:
11       type: boolean
12       label: 'Enable English translation'
13     javascript:
14       type: mapping
15       label: 'JavaScript settings'
16       mapping:
17         directory:
18           type: string
19           label: 'Translation directory'
20     translation:
21       type: mapping
22       label: 'Translation settings'
23       mapping:
24         use_source:
25           type: string
26           label: 'Translation source'
27         default_filename:
28           type: string
29           label: 'Default translation filename pattern'
30         default_server_pattern:
31           type: string
32           label: 'Default translation server pattern'
33         overwrite_customized:
34           type: boolean
35           label: 'Overwrite customized translations'
36         overwrite_not_customized:
37           type: boolean
38           label: 'Overwrite non customized translations'
39         update_interval_days:
40           type: integer
41           label: 'Check for updates'
42         path:
43           type: string
44           label: 'Interface translations directory'
45         import_enabled:
46           type: boolean
47           label: 'Import enabled'