Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

i18n.config.ts not recognized automatically (missing fallback locale) #3357

Open
Tienisto opened this issue Feb 16, 2025 · 0 comments
Open

Comments

@Tienisto
Copy link

Environment

Reproduction

i18n: {
    // vueI18n: './i18n.config.ts', <-- adding this works again
  locales: [
      {
        code: "de",
        language: "de-DE",
        file: "de.json",
        name: "Deutsch",
      },
      {
        code: "en",
        language: "en-US",
        file: "en.json",
        name: "English",
        isCatchallLocale: true,
      },
  }
}

i18n config file i18n.config.ts:

export default defineI18nConfig(() => ({
    fallbackLocale: 'en',
}))

Describe the bug

No fallback is executed indicating that i18n.config.ts was not properly loaded.

Additional context

localsend/website@5ba397b
For example, Thai (th) language

Logs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant