Skip to content

Commit

Permalink
Missing attribute 'original'
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Marcelsj authored and wouterj committed Dec 6, 2014
1 parent 8bba316 commit c0ef3e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion best_practices/i18n.rst
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ English in the application would be:
<!-- app/Resources/translations/messages.en.xliff -->
<?xml version="1.0"?>
<xliff version="1.2" xmlns="urn:oasis:names:tc:xliff:document:1.2">
<file source-language="en" target-language="en" datatype="plaintext">
<file source-language="en" target-language="en" datatype="plaintext" original="file.ext">
<body>
<trans-unit id="1">
<source>title.post_list</source>
Expand Down

0 comments on commit c0ef3e4

Please sign in to comment.