Skip to content

Commit 489b06b

Browse files
committed
Change '.xliff' extensions to '.xlf'
1 parent 318bb8a commit 489b06b

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

best_practices/i18n.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ English in the application would be:
8080

8181
.. code-block:: xml
8282
83-
<!-- app/Resources/translations/messages.en.xliff -->
83+
<!-- app/Resources/translations/messages.en.xlf -->
8484
<?xml version="1.0"?>
8585
<xliff version="1.2" xmlns="urn:oasis:names:tc:xliff:document:1.2">
8686
<file source-language="en" target-language="en" datatype="plaintext" original="file.ext">

book/translation.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -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">
@@ -400,10 +400,10 @@ key ``Symfony is great``. To find the French translation, Symfony actually
400400
checks 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

Comments
 (0)