I'm setting up a new Angular 7 app. I want to set a default text for translation. So in the translation {{ 'wait' | translate }}, I want to set text 'Waiting Now' as default text if there are any fallback. Means if data is being loaded or key is missing then passed value (in this case Waiting Now) should appear.
I was trying to do something like {{ 'Intro' | translate:'localizedText' }}
Not didn't worked
{{ 'Intro' | translate:'localizedText' }}
I expect result should come as
{{ 'Intro' | translate:'localizedText' }} => Intro (If being loaded or missing key)
{{ 'Intro' | translate:'localizedText' }} => translated text
Property 'Default' does not exist on type 'Object'
. Any ideas? – Quotable