8000 Added paths options in Framework::translator configuration · symfony/symfony-docs@e1c55d0 · GitHub
[go: up one dir, main page]

Skip to content

Commit e1c55d0

Browse files
mickaelandrieuxabbuh
authored andcommitted
Added paths options in Framework::translator configuration
1 parent b5fe1b4 commit e1c55d0

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

reference/configuration/framework.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ Configuration
8686
* :ref:` 8000 enabled <reference-translator-enabled>`
8787
* `fallbacks`_
8888
* `logging`_
89+
* `paths`_
8990
* `property_access`_
9091
* `magic_call`_
9192
* `throw_exception_on_invalid_index`_
@@ -1315,6 +1316,13 @@ for a given key. The logs are made to the ``translation`` channel and at the
13151316
``debug`` for level for keys where there is a translation in the fallback
13161317
locale and the ``warning`` level if there is no translation to use at all.
13171318

1319+
paths
1320+
.....
1321+
1322+
**type**: ``array`` **default**: ``[]``
1323+
1324+
This option allows to define an array of paths where the component will look for translation files.
1325+
13181326
property_access
13191327
~~~~~~~~~~~~~~~
13201328

@@ -1638,6 +1646,7 @@ Full Default Configuration
16381646
enabled: false
16391647
fallbacks: [en]
16401648
logging: "%kernel.debug%"
1649+
paths: []
16411650
16421651
# validation configuration
16431652
validation:

0 commit comments

Comments
 (0)
0