Permalink
Browse files

bug #4594 Missing attribute 'original' (Marcelsj)

This PR was submitted for the 2.6 branch but it was merged into the 2.3 branch instead (closes #4594).

Discussion
----------

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.

Commits
-------

c0ef3e4 Missing attribute 'original'
  • Loading branch information...
wouterj committed Dec 6, 2014
2 parents 8bba316 + c0ef3e4 commit 727c92a2aa10314df7cede068b87157cd77c2424
Showing with 1 addition and 1 deletion.
  1. +1 −1 best_practices/i18n.rst
@@ -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>

0 comments on commit 727c92a

Please sign in to comment.