Skip to content
This repository was archived by the owner on Sep 16, 2021. It is now read-only.

Commit 886bf45

Browse files
committed
Merge pull request #350 from symfony-cmf/multilang-disabled
explaining the NonTranslatableMetadataListener in cmf_core.multilang
2 parents c2640bd + 8101eae commit 886bf45

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

reference/configuration/core.rst

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -158,10 +158,15 @@ This setting can be used to force a specific translation strategy for all docume
158158
multilang
159159
~~~~~~~~~
160160

161-
This configures if multiple language mode should be activated. Specifically this
162-
enables the ``TranslatableExtension`` for ``SonataAdminBundle``.
161+
This configures whether multiple languages mode should be activated.
163162

164-
Enabling this setting will also automatically enable the equivalent setting in the following Bundles:
163+
If the ``multilang`` option is *not* defined at all, the CoreBundle registers a
164+
listener for Doctrine PHPCR-ODM that modifies PHPCR-ODM metadata to remove the
165+
translatable attribute from all fields.
166+
167+
If multilang is enabled, the ``TranslatableExtension`` for
168+
``SonataAdminBundle`` is enabled and the locales will be configured on all CMF
169+
bundles that use this configuration:
165170

166171
* :doc:`RoutingBundle <../../bundles/routing/introduction>`
167172
* :doc:`SimpleCmsBundle <../../bundles/simple_cms/introduction>`

0 commit comments

Comments
 (0)