ngx-translate .instant returns key instead of value
You are using the TranslateHttpLoader which makes an HTTP request when it’s asked for translations – translate.use(‘en’). If you call the instant(messageKey) method before the HTTP call returns, ngx-translate will return the key, since it has no translations yet. So you should use the get(messageKey) method to get the translation – it’s asynchronous and returns … Read more