mirror of
https://github.com/digitalocean/nginxconfig.io.git
synced 2025-08-29 02:57:38 +08:00
Fix locale switching
This commit is contained in:
@@ -85,5 +85,5 @@ export const setLanguagePack = async pack => {
|
|||||||
|
|
||||||
// Load the pack if not already loaded, and set it as active
|
// Load the pack if not already loaded, and set it as active
|
||||||
await loadLanguagePack(pack);
|
await loadLanguagePack(pack);
|
||||||
i18n.locale = pack;
|
i18n.global.locale = pack;
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user