Skip to content

Commit c080784

Browse files
committed
Fixes
1 parent f739172 commit c080784

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

components/intl.rst

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -365,8 +365,12 @@ to catching the exception, you can also check if a given timezone ID is valid::
365365
Emoji Transliteration
366366
~~~~~~~~~~~~~~~~~~~~~
367367

368+
.. versionadded:: 6.2
369+
370+
The Empoji transliteration feature was introduced in Symfony 6.2.
371+
368372
The ``EmojiTransliterator`` class provides an utility to translate emojis into
369-
their textual represtation in all languages::
373+
their textual representation in all languages based on the `Unicode CLDR dataset`_::
370374

371375
use Symfony\Component\Intl\Transliterator\EmojiTransliterator;
372376

@@ -383,7 +387,7 @@ their textual represtation in all languages::
383387
.. tip::
384388

385389
Combine this emoji transliterator with the :ref:`Symfony String slugger <string-slugger>`
386-
to impove the slugs of contents that include emojis (e.g. for URLs).
390+
to improve the slugs of contents that include emojis (e.g. for URLs).
387391

388392
Learn more
389393
----------
@@ -407,3 +411,4 @@ Learn more
407411
.. _`daylight saving time (DST)`: https://en.wikipedia.org/wiki/Daylight_saving_time
408412
.. _`ISO 639-1 alpha-2`: https://en.wikipedia.org/wiki/ISO_639-1
409413
.. _`ISO 639-2 alpha-3 (2T)`: https://en.wikipedia.org/wiki/ISO_639-2
414+
.. _`Unicode CLDR dataset`: https://github.com/unicode-org/cldr

components/string.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -491,7 +491,7 @@ another separator as the second argument::
491491
.. tip::
492492

493493
Combine this slugger with the :ref:`Symfony emoji transliterator <component-intl-emoji-transliteration>`
494-
to impove the slugs of contents that include emojis (e.g. for URLs).
494+
to improve the slugs of contents that include emojis (e.g. for URLs).
495495

496496
The slugger transliterates the original string into the Latin script before
497497
applying the other transformations. The locale of the original string is

0 commit comments

Comments
 (0)