question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Issue when changing language

See original GitHub issue

I have an application with many modules (some lazy-loaded) and a ton of components… When the user change the language of the application using a menu, not all the translation are updated. For the translations I use a mix of pipe and directive depending on where I need to put the texts. All my components extend the Locale class as described in the documentation. At first glance, it seems that the texts translated using the pipe are the only texts affected by the issue. And I think that the issue appears only on components with the OnPush change detection strategy.

So, for the moment, my work around for this issue is to force a reload of the whole application using location.reload().

Here is a link to a video showing the issue: https://drive.google.com/open?id=0B0duWwBStbRAemI1V1lPaXlkYTA

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:16 (14 by maintainers)

github_iconTop GitHub Comments

1reaction
robisim74commented, Jan 30, 2017

Tonight I’ll release the new minor version. In a few days the new major version. Both will have this features.

1reaction
robisim74commented, Jan 16, 2017

@FabienDehopre Thanks for reporting. I’ll update you when I’ll release the new version

Read more comments on GitHub >

github_iconTop Results From Across the Web

Problem with language imput switching - it works.. sometimes
Hello, I have a strange problem that started today - the switching of the imput languages doens't work properly.
Read more >
How To Fix System Language Problem In Windows 10
In this video, I will show you guys how to change windows 10 language in windows 10 computer / pc or laptop. also,...
Read more >
FIX: Windows 10 Display Language Not Changing (Solved)
Detailed instructions to solve the following issues on Windows 10: Display language not changing or doesn't change in some menus.
Read more >
Primary Language Change issue | Apple Developer Forums
A first one to add screenshot on the published version, and another one to switch primary language because you can't change default language...
Read more >
How to Change the Default Language of an Internet Browser.
Microsoft Edge Legacy · After you select a language, you are asked to pick a region. · You should now see the new...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found