Open karan-kang opened 6 years ago
Thank you for reporting this. This is related to #1 since OmniXLF omits all nested tags inside a translation unit. The way I am working around this, is by splitting translation units that contain interpolated content into multiple
<div i18n="@@test">This {{item.value}} should be translated.</div>
becomes
<div>
<ng-container i18n="@@test_p01">This </ng-container>
{{item.value}}
<ng-container i18n="@@test_p02"> should be translated</ng-container>
</div>
I know this is really inconvenient, but I have not gotten around to implementing a proper solution just yet.
Issue: OmniXlf omits the Angular Interpolation strings from the source and translation fields.
Xliff Trans Unit:
OmniXlf shows this trans unit as following:
In comparison, a tool like Virtaal shows the source and translation as following: