From 578c9e5afe9096c960ed216aed3ee101aec379f7 Mon Sep 17 00:00:00 2001 From: Martin Bens Date: Mon, 11 Oct 2021 18:39:58 +0200 Subject: [PATCH] Language codes: 'ISO 639-2 alpha-3' mentions specified to 'ISO 639-2 alpha-3 (2T)'. --- components/intl.rst | 4 ++-- reference/forms/types/language.rst | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/components/intl.rst b/components/intl.rst index d66370218c9..70e602cc1c2 100644 --- a/components/intl.rst +++ b/components/intl.rst @@ -69,7 +69,7 @@ Language and Script Names ~~~~~~~~~~~~~~~~~~~~~~~~~ The ``Languages`` class provides access to the name of all languages -according to the `ISO 639-1 alpha-2`_ list and the `ISO 639-2 alpha-3`_ list:: +according to the `ISO 639-1 alpha-2`_ list and the `ISO 639-2 alpha-3 (2T)`_ list:: use Symfony\Component\Intl\Languages; @@ -416,4 +416,4 @@ Learn more .. _`UTC/GMT time offsets`: https://en.wikipedia.org/wiki/List_of_UTC_time_offsets .. _`daylight saving time (DST)`: https://en.wikipedia.org/wiki/Daylight_saving_time .. _`ISO 639-1 alpha-2`: https://en.wikipedia.org/wiki/ISO_639-1 -.. _`ISO 639-2 alpha-3`: https://en.wikipedia.org/wiki/ISO_639-2 +.. _`ISO 639-2 alpha-3 (2T)`: https://en.wikipedia.org/wiki/ISO_639-2 diff --git a/reference/forms/types/language.rst b/reference/forms/types/language.rst index 89c14193a80..c3e47bb7b0c 100644 --- a/reference/forms/types/language.rst +++ b/reference/forms/types/language.rst @@ -74,7 +74,7 @@ alpha3 The ``alpha3`` option was introduced in Symfony 4.4. -If this option is ``true``, the choice values use the `ISO 639-2 alpha-3`_ +If this option is ``true``, the choice values use the `ISO 639-2 alpha-3 (2T)`_ three-letter codes (e.g. French = ``fra``) instead of the default `ISO 639-1 alpha-2`_ two-letter codes (e.g. French = ``fr``). @@ -156,5 +156,5 @@ The actual default value of this option depends on other field options: .. include:: /reference/forms/types/options/row_attr.rst.inc .. _`ISO 639-1 alpha-2`: https://en.wikipedia.org/wiki/ISO_639-1 -.. _`ISO 639-2 alpha-3`: https://en.wikipedia.org/wiki/ISO_639-2 +.. _`ISO 639-2 alpha-3 (2T)`: https://en.wikipedia.org/wiki/ISO_639-2 .. _`International Components for Unicode`: http://site.icu-project.org