-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Update framework.rst #9965
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update framework.rst #9965
Changes from 1 commit
47e3761
29308c9
052b07b
f5fe2ae
ff52a05
7529ad9
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -94,6 +94,7 @@ Configuration | |
* `fallbacks`_ | ||
* `logging`_ | ||
* :ref:`paths <reference-translator-paths>` | ||
* :ref:`default_path <reference-translator-default_path>` | ||
* `property_access`_ | ||
* `magic_call`_ | ||
* `throw_exception_on_invalid_index`_ | ||
|
@@ -1560,6 +1561,16 @@ paths | |
This option allows to define an array of paths where the component will look | ||
for translation files. | ||
|
||
.. _reference-translator-default_path: | ||
|
||
default_path | ||
..... | ||
|
||
**type**: ``string`` **default**: ``[]`` | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. the default value looks wrong to me (this should be There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Thanks, you are right |
||
|
||
This option allows to define a path where the component will write | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm not sure about this description. Should we change it for this other description? This option allows to define the path where the application translations files
are stored. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Actually it's two default things: it is where the command generates translation files and where domains take precedence on other registrations. |
||
the translation files. | ||
|
||
property_access | ||
~~~~~~~~~~~~~~~ | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The format we use for the docs is more strict that Markdown, so for example, the line below the heading must have the exact same length. Please, add the missing dots like this:
default_path ............