diff --git a/src/App.vue b/src/App.vue index f1f5a4c..e055a94 100644 --- a/src/App.vue +++ b/src/App.vue @@ -168,8 +168,8 @@ store.$subscribe((mutation, state) => {

{{ $t("app.cursor") }}: ({{ xcord }}; {{ ycord }}) | {{ $t("app.about") }} | - English - Русский + English + Русский

diff --git a/src/utils/i18n.ts b/src/utils/i18n.ts index ebec808..a79a773 100644 --- a/src/utils/i18n.ts +++ b/src/utils/i18n.ts @@ -107,7 +107,7 @@ const messages = { // 2. Create i18n instance with options export const i18n = createI18n({ - locale: sessionStorage.getItem("locale") | 'ru', + locale: localStorage.getItem("locale") | 'ru', fallbackLocale: 'ru', messages })