diff --git a/reference/forms/types/locale.rst b/reference/forms/types/locale.rst index 818515da8c4..b5f78f93843 100644 --- a/reference/forms/types/locale.rst +++ b/reference/forms/types/locale.rst @@ -41,7 +41,7 @@ you should just use the ``choice`` type directly. +-------------+------------------------------------------------------------------------+ | Parent type | :doc:`choice ` | +-------------+------------------------------------------------------------------------+ -| Class | :class:`Symfony\\Component\\Form\\Extension\\Core\\Type\\LanguageType` | +| Class | :class:`Symfony\\Component\\Form\\Extension\\Core\\Type\\LocaleType` | +-------------+------------------------------------------------------------------------+ Overridden Options @@ -53,9 +53,8 @@ choices **default**: :method:`Symfony\\Component\\Locale\\Locale::getDisplayLocales` The choices option defaults to all locales returned by -:method:`Symfony\\Component\\Locale\\Locale::getDisplayLocales`. It uses the -default locale to specify the language. - +:method:`Symfony\\Component\\Locale\\Locale::getDisplayLocales`. +The default locale is used to translate the locale names. Inherited options -----------------