Hi
With XLIFF and autosave="true", code like the following
creates a new entry in the xml file whenever the page
is reloaded:
<com:TTranslate>Schr&ouml;der</com:TTranslate>
Whereas the following code works as expected, creating
an entry only the first time the page is loaded:
<com:TTranslate>Schroeder</com:TTranslate>
The problem is of course that the ampersand must be
escaped in XML (as well as the <, which is the
reason that you can't use html tags in strings that are
localized).
Attempts to escape the ampersand resulted in the same
behaviour:
<com:TTranslate>Schr&amp;ouml;der</com:TTranslate>
Would it be possible to escape ampersands prior to
saving, so that the first of the three examples above
could be used?
I hope the examples above are displayed correctly,
sadly this bugtracker does not have a preview function
so I cannot check.
Thanks, habakuk
Logged In: NO
please close this bug, I'll resubmit it with proper
escaping. Damn sourceforge for not having a preview function.