Skip to content

[Intl] Language codes: 'ISO 639-2' specified to 'ISO 639-2 (2T)' #15913

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 12, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions components/intl.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down Expand Up @@ -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
4 changes: 2 additions & 2 deletions reference/forms/types/language.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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``).

Expand Down Expand Up @@ -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