-
-
Notifications
You must be signed in to change notification settings - Fork 959
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Why Variant relate on source string instead of key (id)? #7664
Comments
This issue looks more like a support question than an issue. We strive to answer these reasonably fast, but purchasing the support subscription is not only more responsible and faster for your business but also makes Weblate stronger. In case your question is already answered, making a donation is the right way to say thank you! |
There's no ids in PO format, for example. |
When using keys, it might be better to use automated variants. |
Then variants flagged as variant in UI but not does not flagged in exported XLIFF file in any way. Is that correct behavior? <trans-unit xml:space="preserve" approved="yes" id="example">
<source>This is example</source>
<target state="translated">This is example</target>
</trans-unit>
<trans-unit xml:space="preserve" approved="yes" id="example_one">
<source>This is example One</source>
<target state="translated">This is example One</target>
</trans-unit>
<trans-unit xml:space="preserve" approved="yes" id="example_two">
<source>This is example Two</source>
<target state="translated">This is example Two</target>
</trans-unit> |
Yes, that's correct. |
This issue has been automatically marked as stale because there wasn’t any recent activity. It will be closed soon if no further action occurs. Thank you for your contributions! |
Describe the issue
Why variants uses mutable source string value as relation identifier instead of immutable Translation key (XLIFF
id
attribute)? Is it bug or made intentionally?I already tried
Steps to reproduce the behavior
key = example
and translationThis is example
example
withkey = example_one
and translationThis is example One
example
withkey = example_two
and translationThis is example Two
weblate-flags
attributeExpected behavior
How do you run Weblate?
Docker container
Weblate versions
Weblate 4.12.2
The text was updated successfully, but these errors were encountered: