mirror of
https://github.com/Bubka/2FAuth.git
synced 2024-12-12 02:00:47 +01:00
14 lines
401 B
JavaScript
Vendored
14 lines
401 B
JavaScript
Vendored
import Vue from 'vue'
|
|
import VueInternationalization from 'vue-i18n';
|
|
import Locale from '@kirschbaum-development/laravel-translations-loader/php!@kirschbaum-development/laravel-translations-loader';
|
|
|
|
Vue.use(VueInternationalization);
|
|
|
|
const lang = document.documentElement.lang.substr(0, 2);
|
|
|
|
const i18n = new VueInternationalization({
|
|
locale: lang,
|
|
messages: Locale
|
|
});
|
|
|
|
export default i18n |