You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Xliff entry with variables in it looks something like this:
<trans-unit id="6644865400824058724" datatype="html">
<source>Shot by player <x id="PLAYER"/></source>
</trans-unit>
Actual behaviour
Weblate UI does not seem to handle <x /> tags - it just omits it from source field. example screenshot
Expected behaviour
<x /> placeholders should be displayed in translation source input field, so that translators would be aware of them. There should also be a way to enter these placeholders in translation target input field.
The text was updated successfully, but these errors were encountered:
@nijel, since this is a blocker for me, I'd be willing to submit a PR for it, but I have no experience in Weblate. Could you point me in the right direction, on how to contribute in general, and what should be done in what part of code for this specific feature ?
This should allow to translate units containing placeholders such
as the one used by Angular i18n.
PoXliff will not support placehoders, because it probably doesn't
make sense to support XLIFF specific placeholders in a format that
actually embed PO placeholders.
FixesWeblateOrg#490FixesWeblateOrg#1535
Signed-off-by: Adrien Crivelli <adrien.crivelli@gmail.com>
Xliff entry with variables in it looks something like this:
Actual behaviour
Weblate UI does not seem to handle <x /> tags - it just omits it from source field.
example screenshot
Expected behaviour
<x /> placeholders should be displayed in translation source input field, so that translators would be aware of them. There should also be a way to enter these placeholders in translation target input field.
The text was updated successfully, but these errors were encountered: