Skip to content

Update translation_domain.rst.inc #7845

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

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions reference/forms/types/options/translation_domain.rst.inc
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
translation_domain
~~~~~~~~~~~~~~~~~~

**type**: ``string`` **default**: ``messages``
**type**: ``string``, ``null`` or ``false`` **default**: ``null``

This is the translation domain that will be used for any labels or options
that are rendered for this field.
that are rendered for this field. Use null to use the translation domain of
the parent form or the default domain of translator for root form. Use false
to disable translation.