Skip to content

Commit

Permalink
fix: ONE MORE i18n FIX
Browse files Browse the repository at this point in the history
  • Loading branch information
KTrain5169 committed Aug 15, 2024
1 parent 9a0b258 commit 2c401bd
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions i18n/i18n.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ import ptBR from "./lang/pt-BR.json"

export default defineI18nConfig(() => ({
legacy: false,
fallbackLocale: "en",
locale: "en",
fallbackLocale: "en-US",
locale: "en-US",
messages: {
en: enUS,
"en-US": enUS,
"en-UD": enUD,
"en-LOL": enLOL,
"ru-RU": ruRU,
Expand Down
8 changes: 4 additions & 4 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ export default defineNuxtConfig({

i18n: {
strategy: "no_prefix",
defaultLocale: "en",
defaultLocale: "en-US",
locales: [
{
code: "en",
code: "en-US",
name: "English (US)",
},
{
Expand All @@ -40,11 +40,11 @@ export default defineNuxtConfig({
name: "English (Upside-down)",
},
{
code: "ru",
code: "ru-RU",
name: "русский (Russia)",
},
{
code: "de",
code: "de-DE",
name: "Deutsch (Germany)",
},
{
Expand Down

0 comments on commit 2c401bd

Please sign in to comment.