From 5cdbc8a5ac553fadfdf0afbe9f23004fce673305 Mon Sep 17 00:00:00 2001 From: Draeli Date: Sat, 22 Jul 2017 14:10:53 +0200 Subject: [PATCH 1/2] Update language.rst Avoid taking lost time searching something which can be say clearly. --- reference/forms/types/language.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/reference/forms/types/language.rst b/reference/forms/types/language.rst index cdd5e461ed4..3318fe7a44b 100644 --- a/reference/forms/types/language.rst +++ b/reference/forms/types/language.rst @@ -14,6 +14,7 @@ in the `International Components for Unicode`_ (e.g. ``fr`` or ``zh_Hant``). .. note:: The locale of your user is guessed using :phpmethod:`Locale::getDefault` + Don't forget install 'intl' package PHP to have translation. Unlike the ``ChoiceType``, you don't need to specify a ``choices`` option as the field type automatically uses a large list of languages. You *can* specify the option From 6501dd8e9150b37603747d19a3ffd8690aa8854c Mon Sep 17 00:00:00 2001 From: Javier Eguiluz Date: Mon, 24 Jul 2017 11:11:52 +0200 Subject: [PATCH 2/2] Reword --- reference/forms/types/language.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reference/forms/types/language.rst b/reference/forms/types/language.rst index 3318fe7a44b..64d656c46dd 100644 --- a/reference/forms/types/language.rst +++ b/reference/forms/types/language.rst @@ -13,8 +13,8 @@ in the `International Components for Unicode`_ (e.g. ``fr`` or ``zh_Hant``). .. note:: - The locale of your user is guessed using :phpmethod:`Locale::getDefault` - Don't forget install 'intl' package PHP to have translation. + The locale of your user is guessed using :phpmethod:`Locale::getDefault`, + which requires to have installed and enabled the ``intl`` PHP extension. Unlike the ``ChoiceType``, you don't need to specify a ``choices`` option as the field type automatically uses a large list of languages. You *can* specify the option pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy