From ad310b2e3d2fdf5576823d9a725867e021cd690e Mon Sep 17 00:00:00 2001 From: mohamed gasmi Date: Sun, 7 Aug 2022 22:43:58 +0200 Subject: [PATCH] [Intl] Add Scripts & Languages links Add links to the code documents, i found that is useful for quick check to the code. --- components/intl.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/intl.rst b/components/intl.rst index 70e602cc1c2..6992c39a26b 100644 --- a/components/intl.rst +++ b/components/intl.rst @@ -68,7 +68,7 @@ This component provides the following ICU data: Language and Script Names ~~~~~~~~~~~~~~~~~~~~~~~~~ -The ``Languages`` class provides access to the name of all languages +The :class:`Symfony\\Component\\Intl\\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 (2T)`_ list:: use Symfony\Component\Intl\Languages; @@ -128,7 +128,7 @@ You may convert codes between two-letter alpha2 and three-letter alpha3 codes:: The full support for alpha3 codes was introduced in Symfony 4.4. -The ``Scripts`` class provides access to the optional four-letter script code +The :class:`Symfony\\Component\\Intl\\Scripts` class provides access to the optional four-letter script code that can follow the language code according to the `Unicode ISO 15924 Registry`_ (e.g. ``HANS`` in ``zh_HANS`` for simplified Chinese and ``HANT`` in ``zh_HANT`` for traditional Chinese)::