You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# The root dir of your project. By default this will be kernel_root's parent.
33
-
project_root: ~
34
-
35
-
# The version of XLIFF XML you want to use (if dumping to this format).
36
-
xliff_version: '2.0'
37
-
38
-
# Options passed to the local file storage's dumper.
39
-
local_file_storage_options: []
40
-
fallback_translation:
41
-
enabled: false
42
-
service:google # One of "google"; "yandex"
43
-
api_key: null
44
-
edit_in_place:
45
-
enabled: false
46
-
config_name: default
47
-
activator:php_translation.edit_in_place.activator
48
-
show_untranslatable: true
49
-
webui:
50
-
enabled: false
51
-
allow_create: true
52
-
allow_delete: true
53
-
54
-
# Base path for SourceLocation's. Defaults to "%kernel.project_dir%".
55
-
file_base_path: null
56
-
locales:[]
57
-
58
-
# Your default language or fallback locale. Default will be kernel.default_locale
59
-
default_locale: ~
60
-
61
-
# Extend the debug profiler with information about requests.
62
-
symfony_profiler:
63
-
64
-
# Turn the symfony profiler integration on or off. Defaults to kernel debug mode.
65
-
enabled: true
66
-
formatter: null
67
-
68
-
# Limit long HTTP message bodies to x characters. If set to 0 we do not read the message body. Only available with the default formatter (FullHttpMessageFormatter).
69
-
captured_body_length: 0
70
-
allow_edit: true
71
-
auto_add_missing_translations:
72
-
enabled: false
73
-
config_name: default
74
-
http_client: httplug.client
75
-
message_factory: httplug.message_factory
76
-
```
77
-
78
-
You can also dump the default configuration using Symfony command:
79
-
80
-
```bash
81
-
bin/console config:dump-reference translation
82
-
```
6
+
.. code-block:: yaml
7
+
8
+
translation:
9
+
configs:
10
+
11
+
# Prototype
12
+
name:
13
+
14
+
# Directories we should scan for translations
15
+
dirs: []
16
+
excluded_dirs: []
17
+
excluded_names: []
18
+
external_translations_dirs: []
19
+
output_format: xlf # One of "php"; "yml"; "xlf"; "po"
20
+
blacklist_domains: []
21
+
whitelist_domains: []
22
+
23
+
# Service ids with to classes that supports remote storage of translations.
24
+
remote_storage: []
25
+
26
+
# Service ids with to classes that supports local storage of translations.
# Base path for SourceLocation's. Defaults to "%kernel.project_dir%".
56
+
file_base_path:null
57
+
locales: []
58
+
59
+
# Your default language or fallback locale. Default will be kernel.default_locale
60
+
default_locale: ~
61
+
62
+
# Extend the debug profiler with information about requests.
63
+
symfony_profiler:
64
+
65
+
# Turn the symfony profiler integration on or off. Defaults to kernel debug mode.
66
+
enabled: true
67
+
formatter: null
68
+
69
+
# Limit long HTTP message bodies to x characters. If set to 0 we do not read the message body. Only available with the default formatter (FullHttpMessageFormatter).
70
+
captured_body_length: 0
71
+
allow_edit: true
72
+
auto_add_missing_translations:
73
+
enabled: false
74
+
config_name: default
75
+
http_client: httplug.client
76
+
message_factory: httplug.message_factory
77
+
78
+
You can also dump the default configuration yourself using Symfony command:
0 commit comments