mirror of
https://github.com/digitalocean/nginxconfig.io.git
synced 2025-08-28 19:17:16 +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
|
||||
await loadLanguagePack(pack);
|
||||
i18n.locale = pack;
|
||||
i18n.global.locale = pack;
|
||||
};
|
||||
|
Reference in New Issue
Block a user