diff --git a/projects/ngx-translate/core/src/lib/translate.directive.ts b/projects/ngx-translate/core/src/lib/translate.directive.ts index 542b6940..59e2971c 100644 --- a/projects/ngx-translate/core/src/lib/translate.directive.ts +++ b/projects/ngx-translate/core/src/lib/translate.directive.ts @@ -111,9 +111,9 @@ export class TranslateDirective implements AfterViewChecked, OnDestroy { this.lastParams = this.currentParams; let onTranslation = (res: string) => { - if (res !== key) { - node.lastKey = key; - } + + node.lastKey = key; + if (!node.originalContent) { node.originalContent = this.getContent(node); }