In the previous lesson, we learned how to change the active locale programmatically and how users can set their preferred locale through the user interface. However, we didn't persist the changes, which offers a bad user experience.
In this lesson, we'll learn how to persist the locale change with local storage, so our users don't have to choose their language on every page load.