Skip to content

Commit 1e5faa9

Browse files
committed
Removes Pluralized Translations section from usage.rst
1 parent efc3d81 commit 1e5faa9

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

components/translation/usage.rst

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -168,22 +168,6 @@ use for translation::
168168

169169
.. _retrieving-the-message-catalogue:
170170

171-
Pluralized Translations
172-
-----------------------
173-
174-
Translation messages can be pluralized using `interval notations`_, the count
175-
to dictate the message can be provided using the ``%count%`` option::
176-
177-
$translator->trans(
178-
'{0} There are no apples|{1} There is one apple|]1,Inf[ There are %count% apples',
179-
['%count%' => 10],
180-
'messages',
181-
'fr_FR'
182-
);
183-
184-
The Translator also supports pluralization using the ICU MessageFormat, read
185-
:doc:`/translation/message_format` for more information about using it.
186-
187171
Retrieving the Message Catalog
188172
------------------------------
189173

0 commit comments

Comments
 (0)