mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-06-09 22:46:54 +02:00
Set language via the html lang attribute
This commit is contained in:
parent
f2c177774e
commit
9c3b77e56a
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);
|
Vue.use(VueInternationalization);
|
||||||
|
|
||||||
// const lang = document.documentElement.lang.substr(0, 2);
|
const lang = document.documentElement.lang.substr(0, 2);
|
||||||
const lang = 'en';
|
|
||||||
|
|
||||||
const i18n = new VueInternationalization({
|
const i18n = new VueInternationalization({
|
||||||
locale: lang,
|
locale: lang,
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html class="has-background-black-ter">
|
<html class="has-background-black-ter" lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user