Currently in the process of setting up a brand new Angular 7 application. I am interested in establishing a default text for translation purposes. Specifically, when utilizing the translation {{ 'wait' | translate }}, I would like to ensure that if there are any fallback scenarios, the default text displayed will be 'Waiting Now'. This means that if data is currently loading or if a key is missing, the specified value (in this case Waiting Now) should appear.
I attempted to implement something along the lines of
{{ 'Intro' | translate:'localizedText' }}
Unfortunately, my approach did not yield the desired results
{{ 'Intro' | translate:'localizedText' }}
The expected outcome is as follows:
{{ 'Intro' | translate:'localizedText' }} => Intro (Displayed in cases where content is loading or key is missing)
{{ 'Intro' | translate:'localizedText' }} => translated text