Skip to content

Commit

Permalink
Add new languages to testing
Browse files Browse the repository at this point in the history
  • Loading branch information
worldwidepixel committed Jul 12, 2024
1 parent d6fe12e commit ae17949
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions i18n/i18n.config.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
import enUS from "./lang/en-US.json"
import enLOL from "./lang/lol.json"
import enUD from "./lang/en-UD.json"
import ruRU from "./lang/ru.json"
import deDE from "./lang/de.json"
import esES from "./lang/es-ES.json"
Expand All @@ -11,6 +13,8 @@ export default defineI18nConfig(() => ({
locale: "en",
messages: {
en: enUS,
"en-UD": enUD,
"en-LOL": enLOL,
ru: ruRU,
de: deDE,
"es-ES": esES,
Expand Down
8 changes: 8 additions & 0 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,14 @@ export default defineNuxtConfig({
code: "en",
name: "English (US)",
},
{
code: "en-LOL",
name: "LOLCAT (Kingdom of Cats)",
},
{
code: "en-UD",
name: "English (Upside-down)",
},
{
code: "ru",
name: "русский (Russia)",
Expand Down

0 comments on commit ae17949

Please sign in to comment.