mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-08-16 08:37:53 +02:00
Set language via the html lang attribute
This commit is contained in:
3
resources/js/langs/i18n.js
vendored
3
resources/js/langs/i18n.js
vendored
@ -4,8 +4,7 @@ import Locale from './locales';
|
||||
|
||||
Vue.use(VueInternationalization);
|
||||
|
||||
// const lang = document.documentElement.lang.substr(0, 2);
|
||||
const lang = 'en';
|
||||
const lang = document.documentElement.lang.substr(0, 2);
|
||||
|
||||
const i18n = new VueInternationalization({
|
||||
locale: lang,
|
||||
|
Reference in New Issue
Block a user