File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -52,6 +52,12 @@ First, run this command to install the translator before using it:
52
52
53
53
$ composer require symfony/translation
54
54
55
+ Symfony includes several internationalization polyfills (``symfony/polyfill-intl-icu ``,
56
+ ``symfony/polyfill-intl-messageformatter ``, etc.) that allow you to use translation
57
+ features even without the `PHP intl extension `_. However, these polyfills only
58
+ support English translations, so you must install the PHP ``intl `` extension
59
+ when translating into other languages.
60
+
55
61
.. _translation-configuration :
56
62
57
63
Configuration
@@ -1694,6 +1700,7 @@ Learn more
1694
1700
.. _`ICU MessageFormat` : https://unicode-org.github.io/icu/userguide/format_parse/messages/
1695
1701
.. _`ISO 3166-1 alpha-2` : https://en.wikipedia.org/wiki/ISO_3166-1#Current_codes
1696
1702
.. _`ISO 639-1` : https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes
1703
+ .. _`PHP intl extension` : https://php.net/book.intl
1697
1704
.. _`Translatable Extension` : https://github.com/doctrine-extensions/DoctrineExtensions/blob/main/doc/translatable.md
1698
1705
.. _`Custom Language Name setting` : https://docs.lokalise.com/en/articles/1400492-uploading-files#custom-language-codes
1699
1706
.. _`ICU resource bundle` : https://github.com/unicode-org/icu-docs/blob/main/design/bnf_rb.txt
You can’t perform that action at this time.
0 commit comments