You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 30, 2021. It is now read-only.
When using ui-router the locale is only loaded correctly on the first page. After triggering a route change it defaults back to the default browser language.
I worked around this by setting the local on $stateChangeStart
$rootScope.$on('$stateChangeStart', function (event, next) {
amMoment.changeLocale('de');
});
The text was updated successfully, but these errors were encountered:
When using ui-router the locale is only loaded correctly on the first page. After triggering a route change it defaults back to the default browser language.
I worked around this by setting the local on $stateChangeStart
The text was updated successfully, but these errors were encountered: