mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-01-11 16:58:58 +01: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);
|
||||
|
||||
// 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,
|
||||
|
@ -1,5 +1,5 @@
|
||||
<!DOCTYPE html>
|
||||
<html class="has-background-black-ter">
|
||||
<html class="has-background-black-ter" lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
|
Loading…
Reference in New Issue
Block a user