Nuxt module for internationalization with localized routing.
This module's intention is not to provide a full-blown solution for internationalization like @nuxtjs/i18n, but offer a lean, effective and lightweight set of tools to cover the needs of common projects without the bloat of a full-blown solution.
pnpm add -D @globalbrain/nuxt-i18n
export default defineNuxtConfig({
modules: [
'@globalbrain/nuxt-i18n'
],
i18n: {
defaultLocale: 'ja',
locales: ['ja', 'en']
}
})
We are really excited that you are interested in contributing. Before submitting your contribution though, please make sure to take a moment and read through the following guidelines.
Always remember to follow the "Golden Rule"…
Every line of code should appear to be written by a single person, no matter the number of contributors. — @mdo
pnpm run lint
Lint files using ESLint.
pnpm run test
Run the test suite using Vitest.
This package is open-sourced software licensed under the MIT.