@@ -127,7 +127,7 @@ different formats, XLIFF being the recommended format:
127127
128128 .. code-block :: xml
129129
130- <!-- messages.fr.xliff -->
130+ <!-- messages.fr.xlf -->
131131 <?xml version =" 1.0" ?>
132132 <xliff version =" 1.2" xmlns =" urn:oasis:names:tc:xliff:document:1.2" >
133133 <file source-language =" en" datatype =" plaintext" original =" file.ext" >
@@ -359,18 +359,18 @@ must be named according to the following path: ``domain.locale.loader``:
359359
360360* **locale **: The locale that the translations are for (e.g. ``en_GB ``, ``en ``, etc);
361361
362- * **loader **: How Symfony should load and parse the file (e.g. ``xliff ``,
362+ * **loader **: How Symfony should load and parse the file (e.g. ``xlf ``,
363363 ``php ``, ``yml ``, etc).
364364
365365The loader can be the name of any registered loader. By default, Symfony
366366provides many loaders, including:
367367
368- * ``xliff ``: XLIFF file;
368+ * ``xlf ``: XLIFF file;
369369* ``php ``: PHP file;
370370* ``yml ``: YAML file.
371371
372372The choice of which loader to use is entirely up to you and is a matter of
373- taste. The recommended option is to use ``xliff `` for translations.
373+ taste. The recommended option is to use ``xlf `` for translations.
374374For more options, see :ref: `component-translator-message-catalogs `.
375375
376376.. note ::
@@ -400,10 +400,10 @@ key ``Symfony is great``. To find the French translation, Symfony actually
400400checks translation resources for several locales:
401401
402402#. First, Symfony looks for the translation in a ``fr_FR `` translation resource
403- (e.g. ``messages.fr_FR.xliff ``);
403+ (e.g. ``messages.fr_FR.xlf ``);
404404
405405#. If it wasn't found, Symfony looks for the translation in a ``fr `` translation
406- resource (e.g. ``messages.fr.xliff ``);
406+ resource (e.g. ``messages.fr.xlf ``);
407407
408408#. If the translation still isn't found, Symfony uses the ``fallbacks `` configuration
409409 parameter, which defaults to ``en `` (see `Configuration `_).
@@ -661,7 +661,7 @@ bundle.
661661
662662 .. code-block :: xml
663663
664- <!-- validators.en.xliff -->
664+ <!-- validators.en.xlf -->
665665 <?xml version =" 1.0" ?>
666666 <xliff version =" 1.2" xmlns =" urn:oasis:names:tc:xliff:document:1.2" >
667667 <file source-language =" en" datatype =" plaintext" original =" file.ext" >
0 commit comments