You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We can use this now to get the current language translation
this.translate.instant(key);
so can we use something like it to get all translation for this key
for an example if we have ( en , fr , ar ) languages we get an object as a result like this --> { en : "value" , fr : "value" , ar : "value" }
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
We can use this now to get the current language translation
this.translate.instant(key);
so can we use something like it to get all translation for this key
for an example if we have ( en , fr , ar ) languages we get an object as a result like this --> { en : "value" , fr : "value" , ar : "value" }
Beta Was this translation helpful? Give feedback.
All reactions