Already searched existing issues for similar topics but didn't find anything helpful. This might also be not entirely ngx-translate-related, so please excuse me being slightly offtopic.
I'm using ngx-translate for a multi language ionic-pwa. The page is created with the default language set in the html tags lang attribute.
When the language is changed by the user (or initially by auto detecting browser language), the lang attribute is updated: document.documentElement.lang = lang;.
This does not seem to have an effect on tools like chrome's translation for foreign languages (I guess because the page's language is only detected once on load!?). Is there anything I can do about that, preferably without reloading the page?
Already searched existing issues for similar topics but didn't find anything helpful. This might also be not entirely ngx-translate-related, so please excuse me being slightly offtopic.
I'm using ngx-translate for a multi language ionic-pwa. The page is created with the default language set in the html tags lang attribute. When the language is changed by the user (or initially by auto detecting browser language), the lang attribute is updated:
document.documentElement.lang = lang;
. This does not seem to have an effect on tools like chrome's translation for foreign languages (I guess because the page's language is only detected once on load!?). Is there anything I can do about that, preferably without reloading the page?