feature(i18n): add Korean translation (#34)

This commit is contained in:
Im, Juno authored and 1138-4EB committed 2018-10-08 23:42:21 +01:00
1 parent 3ae9e518a3
commit 3f49bc382e
13 files changed
+224 -2

No files matched your search

+6 -1
View File
@@ -12,6 +12,7 @@ import es from './es.yaml'
import de from './de.yaml'
import ru from './ru.yaml'
import pl from './pl.yaml'
import ko from './ko.yaml'
Vue.use(VueI18n)
@@ -57,6 +58,9 @@ export function detectLocale () {
case /^pl.*/i.test(locale):
locale = 'pl'
break
case /^ko.*/i.test(locale):
locale = 'ko'
break
default:
locale = 'en'
}
@@ -79,7 +83,8 @@ const i18n = new VueI18n({
'es': es,
'de': de,
'ru': ru,
'pl': pl
'pl': pl,
'ko': ko
}
})