Open Ricardo96r opened 4 years ago
Hi, do you solve the issue?
Is there a workaround for this issue? is it possible to mark trans units as "not removable"?
Is there a workaround for this issue? is it possible to mark trans units as "not removable"?
You can add into template text with same ids
$localize
is only recognized if you use ivy to extract: ng xi18n --ivy
I am trying to Auto Translate the $localize of my application. The problem is that when translating $localize the variables are erased.
Example:
$localize'El campo tiene muy pocos caracteres. Mínimo ${o.requiredLength} caracteres. (${o.actualLength})'
Default XLF (messages.xlf Original defaultLanguage: es)
Then i run
xliffmerge --profile apps/web/xliffmerge.json
and generate: (messages.en.xlf):As you can see, the element
<x id = "PH" />
and<x id="PH_1"/>
is removed.It is necessary that it is not deleted, since my application has 17 languages and it is very laborious to add it manually
Any idea how to make the element
<x id = "PH" />
not be deleted?My xliffmerge.json: