WP_Locale_Switcher
Core class used for switching locales.
Core class used for switching locales.
Constructor.
Changes the site’s locale to the given one.
Filters the locale of the WordPress installation.
Initializes the locale switcher.
Whether switch_to_locale() is in effect.
Load translations for a given locale.
Restores the translations according to the original locale.
Restores the translations according to the previous locale.
Switches the translations according to the given locale.