This shift now asks for alternative approaches in nearly every angle of client side web applications. This holds for localization as well. Localization or short l10n usually has been done in the presentation layer by a server-side web framework. When the user switches to another language, the browser requests the page again and the server delivers the nicely localized HTML document to be rendered by the browser.
With Single Page Applications this is no longer feasible.