Skip to content

Commit dac15b6

Browse files
committed
feature #21254 [Intl] Add SYMFONY_INTL_WITH_USER_ASSIGNED explanation (llupa)
This PR was merged into the 7.4 branch. Discussion ---------- [Intl] Add `SYMFONY_INTL_WITH_USER_ASSIGNED` explanation Fix [#21187](#21187) Commits ------- 6e5127b [Intl] Add `SYMFONY_INTL_WITH_USER_ASSIGNED` explanation
2 parents 31bb687 + 6e5127b commit dac15b6

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

components/intl.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,16 @@ numeric country codes::
202202
$exists = Countries::numericCodeExists('250');
203203
// => true
204204

205+
.. note::
206+
207+
When the ``SYMFONY_INTL_WITH_USER_ASSIGNED`` environment variable is set,
208+
the Symfony Intl component will also recognize user-assigned codes: ``XK``, ``XKK``, and ``983``.
209+
This allows applications to handle these codes, which is useful for supporting regions that need to use them.
210+
211+
.. versionadded:: 7.4
212+
213+
Support for ``SYMFONY_INTL_WITH_USER_ASSIGNED`` was introduced in Symfony 7.4.
214+
205215
Locales
206216
~~~~~~~
207217

0 commit comments

Comments
 (0)