diff --git a/reference/forms/types/country.rst b/reference/forms/types/country.rst index dbf2a87cc5b..da066decbb9 100644 --- a/reference/forms/types/country.rst +++ b/reference/forms/types/country.rst @@ -70,7 +70,7 @@ Overridden Options choices ~~~~~~~ -**default**: ``Symfony\Component\Intl\Intl::getRegionBundle()->getCountryNames()`` +**default**: ``Symfony\Component\Intl\Countries::getNames()`` The country type defaults the ``choices`` option to the whole list of countries. The locale is used to translate the countries names. diff --git a/reference/forms/types/currency.rst b/reference/forms/types/currency.rst index 83fdafa4e17..9921baa75d9 100644 --- a/reference/forms/types/currency.rst +++ b/reference/forms/types/currency.rst @@ -62,7 +62,7 @@ Overridden Options choices ~~~~~~~ -**default**: ``Symfony\Component\Intl\Intl::getCurrencyBundle()->getCurrencyNames()`` +**default**: ``Symfony\Component\Intl\Currencies::getNames()`` The choices option defaults to all currencies. diff --git a/reference/forms/types/language.rst b/reference/forms/types/language.rst index 7aee017fcce..9a751ecc4af 100644 --- a/reference/forms/types/language.rst +++ b/reference/forms/types/language.rst @@ -72,7 +72,7 @@ Overridden Options choices ~~~~~~~ -**default**: ``Symfony\Component\Intl\Intl::getLanguageBundle()->getLanguageNames()``. +**default**: ``Symfony\Component\Intl\Languages::getNames()``. The choices option defaults to all languages. The default locale is used to translate the languages names. diff --git a/reference/forms/types/locale.rst b/reference/forms/types/locale.rst index 6afaddd6250..2ff8e24ce51 100644 --- a/reference/forms/types/locale.rst +++ b/reference/forms/types/locale.rst @@ -73,7 +73,7 @@ Overridden Options choices ~~~~~~~ -**default**: ``Symfony\Component\Intl\Intl::getLocaleBundle()->getLocaleNames()`` +**default**: ``Symfony\Component\Intl\Locales::getNames()`` The choices option defaults to all locales. It uses the default locale to specify the language.