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.

translate.use() without reloading page

See original GitHub issue

I don’t know if I am doing something not properly, however it seems that there is no way to change language without being redirected to /#/.

here’s how I am calling the language change: $translate.use($scope.langKey);

Issue Analytics

  • State:closed
  • Created 9 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
knallicommented, Aug 20, 2014

Well, you have made links to # and I really do not understand why you are doing this.

0reactions
superandrewcommented, Aug 20, 2014

I guess this was a big mistake of mine, I am very sorry, didn’t notice it. Thanks a lot for help.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Translate a whole page without refreshing it - Stack Overflow
This system works fine and is sufficient for this website, but it implies a page refresh when the user switches from one language...
Read more >
Update javascript translations without page refresh · Issue #363
Hi, I'm using i18next for the first time and it's great. I do the init when the page load : $.i18n.init(options, function(t) ...
Read more >
The Whole Page Does Not Translate Until a Page Reload
When we switch from English to French, some pages do not completely translate until the page is refresh. Once that is done, it...
Read more >
ngx-translate Documentation - CodeAndWeb
use() sets the current language for the application. If the selected language is not yet loaded, the loader is invoked to retrieve the...
Read more >
[WORDPRESS] Best way to switch between two translated ...
Hi everyone! I'd like to know what the best way to switch between two languages is, ideally without reloading the page.
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