Skip to content

Instantly share code, notes, and snippets.

@Bachana123
Created December 6, 2019 07:38
Show Gist options
  • Save Bachana123/657cd53958aae5b6a34741dcbd00c772 to your computer and use it in GitHub Desktop.
Save Bachana123/657cd53958aae5b6a34741dcbd00c772 to your computer and use it in GitHub Desktop.
i18n config
const ka = require('../lang/ka-GE.js')
const en = require('../lang/en-US.js')
const I18N = {
locales: [
{
code: 'ka',
iso: 'ka',
name: 'Georgian'
},
{
code: 'en',
iso: 'en',
name: 'English'
}
],
defaultLocale: 'ka',
detectBrowserLanguage: false,
vueI18n: {
fallbackLocale: 'ka',
messages: { ka, en }
}
}
module.exports = {
I18N
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment