Reputation: 191
Problem is only when using
${'message' | t }
When i use format
t="message"
it shows blank (nothing) but responds to language change and then shows.
s.subscribe('i18n:locale:changed', payload => {
this.i18n.updateTranslations(this.element);
});
gets hit when changeing the language but nothing is refreshed.
Greetings
Upvotes: 2
Views: 266
Reputation: 2603
The reason is that ValueConverters cannot be signaled from outside to indicate a re-evaluation.
Exactly for this case the TBindingBehavior was introduced as @valichek mentioned. If that isn't working I'd ask you to create an issue in the official repo, including a small sample depicting the problem.
Upvotes: 2