8000 Missing attribute 'original' · symfony/symfony-docs@c0ef3e4 · GitHub
[go: up one dir, main page]

Skip to content

Commit c0ef3e4

Browse files
Marcelsjwouterj
authored andcommitted
Missing attribute 'original'
I copy pasted the example messages.en.xliff provided. Running it on symfony 2.6 required me the attribute 'original'. I added ' original="file.ext" ' as attribute for the file tag and it worked. However I am not shure about the proper parameter for this attribute.
1 parent 8bba316 commit c0ef3e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

best_practices/i18n.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ English in the application would be:
8383
<!-- app/Resources/translations/messages.en.xliff -->
8484
<?xml version="1.0"?>
8585
<xliff version="1.2" xmlns="urn:oasis:names:tc:xliff:document:1.2">
86-
<file source-language="en" target-language="en" datatype="plaintext">
86+
<file source-language="en" target-language="en" datatype="plaintext" original="file.ext">
8787
<body>
8888
<trans-unit id="1">
8989
<source>title.post_list</source>

0 commit comments

Comments
 (0)
0