Skip to content

Commit

Permalink
bug #4594 Missing attribute 'original' (Marcelsj)
Browse files Browse the repository at this point in the history
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 727c92a
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 727c92a

Please sign in to comment.