Skip to content

Commit b6a770a

Browse files
committed
Merge branch 'up/feat/lang-env' into chore/all-my-stuffs
2 parents 16460f9 + a1022a9 commit b6a770a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/plugins/i18n.plugin.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { createI18n } from 'vue-i18n';
55

66
const i18n = createI18n({
77
legacy: false,
8-
locale: 'en',
8+
locale: import.meta.env.VITE_LANGUAGE || 'en',
99
messages,
1010
});
1111

0 commit comments

Comments
 (0)