From 6e5127b9c13e031460f08f22a7e33baf81e28fdd Mon Sep 17 00:00:00 2001 From: llupa Date: Mon, 28 Jul 2025 13:47:47 +0200 Subject: [PATCH] [Intl] Add `SYMFONY_INTL_WITH_USER_ASSIGNED` explanation --- components/intl.rst | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/components/intl.rst b/components/intl.rst index ba3cbdcb959..4f70963fc07 100644 --- a/components/intl.rst +++ b/components/intl.rst @@ -202,6 +202,16 @@ numeric country codes:: $exists = Countries::numericCodeExists('250'); // => true +.. note:: + + When the ``SYMFONY_INTL_WITH_USER_ASSIGNED`` environment variable is set, + the Symfony Intl component will also recognize user-assigned codes: ``XK``, ``XKK``, and ``983``. + This allows applications to handle these codes, which is useful for supporting regions that need to use them. + +.. versionadded:: 7.4 + + Support for ``SYMFONY_INTL_WITH_USER_ASSIGNED`` was introduced in Symfony 7.4. + Locales ~~~~~~~