Skip to content

Commit 92d13c9

Browse files
authored
Use RST syntax instead of Markdown
1 parent de3c1ae commit 92d13c9

File tree

1 file changed

+77
-77
lines changed

1 file changed

+77
-77
lines changed

symfony/configuration-reference.rst

Lines changed: 77 additions & 77 deletions
Original file line numberDiff line numberDiff line change
@@ -3,80 +3,80 @@ Configuration reference
33

44
The full default configuration is:
55

6-
```yaml
7-
translation:
8-
configs:
9-
10-
# Prototype
11-
name:
12-
13-
# Directories we should scan for translations
14-
dirs: []
15-
excluded_dirs: []
16-
excluded_names: []
17-
external_translations_dirs: []
18-
output_format: xlf # One of "php"; "yml"; "xlf"; "po"
19-
blacklist_domains: []
20-
whitelist_domains: []
21-
22-
# Service ids with to classes that supports remote storage of translations.
23-
remote_storage: []
24-
25-
# Service ids with to classes that supports local storage of translations.
26-
local_storage:
27-
28-
# Default:
29-
- php_translation.local_file_storage.abstract
30-
output_dir: '%kernel.root_dir%/Resources/translations'
31-
32-
# 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.
27+
local_storage:
28+
29+
# Default:
30+
- php_translation.local_file_storage.abstract
31+
output_dir: '%kernel.root_dir%/Resources/translations'
32+
33+
# The root dir of your project. By default this will be kernel_root's parent.
34+
project_root: ~
35+
36+
# The version of XLIFF XML you want to use (if dumping to this format).
37+
xliff_version: '2.0'
38+
39+
# Options passed to the local file storage's dumper.
40+
local_file_storage_options: []
41+
fallback_translation:
42+
enabled: false
43+
service: google # One of "google"; "yandex"
44+
api_key: null
45+
edit_in_place:
46+
enabled: false
47+
config_name: default
48+
activator: php_translation.edit_in_place.activator
49+
show_untranslatable: true
50+
webui:
51+
enabled: false
52+
allow_create: true
53+
allow_delete: true
54+
55+
# 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:
79+
80+
.. code-block:: bash
81+
82+
bin/console config:dump-reference translation

0 commit comments

Comments
 (0)