-
-
Notifications
You must be signed in to change notification settings - Fork 82
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
L10n: Display changed language without page reload #25
Comments
localisation service with... new method:
l10n component
each constructor now subscribes...
header component has to nuke the existing navLinks
...and constructor has a slightly different method getAllItems replaces ngOnInit, which calls it:
|
Realised that it's more efficient to not call getLocalization() each time, but just pass the data back.
then
with, for each ...component.ts
header.component.ts can be simplified, with the original ngOnInit(), with constructor
|
@tobyharding Thank you for your guide how to achieve the language change without reload, that was very helpful! |
No description provided.
The text was updated successfully, but these errors were encountered: