-
Notifications
You must be signed in to change notification settings - Fork 69
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
State is set back to translated even if source did not change #128
Comments
I figured out that it is a problem of ngx-i18nsupport/projects/xliffmerge/src/xliffmerge/xliff-merge.ts Lines 378 to 391 in 6a3e151
As a workaround I'm now using this npm script "xi18n": "npm run xi18n:crlf && ng xi18n --i18n-locale de --output-path i18n && npm run xi18n:merge",
"xi18n:crlf": "crlf --set=LF src/i18n/*.xlf",
"xi18n:merge": "xliffmerge --profile xliffmerge.json en de" |
Yes, this is clearly a bug. |
Unfortunately still broken for me. Check out this example master (with LF). The corresponing translation file has same
|
Hi,
if I understood correctly, the state should switch from
final
totranslated
, when the source changed. If nothing changed, the translation is untouched.Please check this simple example, which will always set the state back to
translated
after setting the target state tofinal
.messages.xlf
messages.en.xlf
If you remove whitespace from the source and target, it works as expected:
messages.xlf
I'm using this profile
The text was updated successfully, but these errors were encountered: