i18n

I18n module for Nuxt

MIT License

Downloads
939.2K
Stars
1.6K
Committers
81

Bot releases are hidden (Show)

i18n - v7.3.1

Published by rchl almost 2 years ago

Bug Fixes

  • don't expose full project path through langDir option (#1786) (0738a0f)
i18n - v8.0.0-alpha.1

Published by kazupon about 2 years ago

8.0.0-alpha.1 (2022-09-03)

This release is for Nuxt3.

This version is sitll alpha, the API might subject to breaking changes. We will make every effort to have the same I/F as v7.x, but Nuxt 3 is a major release, it might not be the same I/F.

About details, please check the v8 docs.

v8 alpha or later does not support Nuxt Bridge.

We will support Nuxt Bridge for v7.4 or v7.x later version. please see the Github Discussions for a detailed discussion of Nuxt Bridge supporting.

Thank you for your understanding 💚

i18n - v7.3.0

Published by rchl about 2 years ago

Features

  • add setting for setting expiration of the cookie that stores locale (#1492) (dd764d7)
i18n - v7.2.3

Published by rchl about 2 years ago

Bug Fixes

  • infinite redirect on URL with special characters (#1472) (426af76)
i18n - v7.2.2

Published by rchl over 2 years ago

Bug Fixes

  • fixed locale changing issue in server side middleware (#1429) (c10231d)
i18n - v7.2.1

Published by rchl over 2 years ago

Bug Fixes

  • don't detect locale from route when using no_prefix (#1421) (609782f)
  • docs: add info on using dynamic translations with _.vue (b6039d2), closes #1400
  • docs: correct links to [Custom paths] and [Ignore routes] (#1392) (091944c)
  • parse-pages: add jsx plugin for .vue files using jsx syntax (#1356) (8cdb999)
i18n - v7.2.0

Published by rchl almost 3 years ago

Features

Bug Fixes

  • docs: refactor and separate some pages related to routing (89eb12f)
  • load vue-template-compiler with nuxt.resolver.requireModule (#1327) (c5a3ca8)
i18n - v7.1.0

Published by rchl about 3 years ago

Features

  • add support for query params in canonical url (#1274) (d5dea9c)

Bug Fixes

  • adjust strange redirection logic for prefix_and_default (#1304) (578acd8)
i18n - v7.0.3

Published by rchl about 3 years ago

Bug Fixes

i18n - v7.0.2

Published by rchl about 3 years ago

Bug Fixes

  • differentDomains: handling of runtime domains from store (#1183) (4d77019)
i18n - v7.0.1

Published by rchl about 3 years ago

Bug Fixes

  • return the redirect path when resolving redirects with localePath (#1253) (3538f77), closes #1248
i18n - v7.0.0

Published by rchl about 3 years ago

This is a major version release that changes some defaults, deprecates some options and changes the name of the published package. Refer to the Migration Guide from v6 to v7 for detailed migration steps.

âš  BREAKING CHANGES

  • rename package to @nuxtjs/i18n
  • set redirectOn to root by default (#1244)
  • remove vuex syncLocale & vuex syncMessages (#1240)
  • disable addDirAttribute by default (#1239)
  • replace onlyOnNoPrefix and onlyOnRoot with redirectOn (#1210)
  • remove deprecated seo option (#1232)
  • remove deprecated $nuxtI18nSeo (#1207)
  • types: remove deprecated NuxtVueI18n (#1206)
  • remove deprecated beforeLanguageSwitch (#1200)

Code Refactoring

i18n - v6.28.1

Published by rchl about 3 years ago

Bug Fixes

i18n - v6.28.0

Published by rchl about 3 years ago

Features

Bug Fixes

  • custom routes with optional params adjusted incorrectly (#1243) (203f3db)
  • don't skip the cookie if no locale is detected in the route (#1235) (6c9b48f)
i18n - v6.27.3

Published by rchl over 3 years ago

Bug Fixes

i18n - v6.27.2

Published by rchl over 3 years ago

Bug Fixes

  • ensure localeProperties is reactive (on locale change) (#1208) (d2dd400)
  • types: fix compatibility issue with typescript 4.3.x+ (#1205) (acc1145)
i18n - v6.27.1

Published by rchl over 3 years ago

Bug Fixes

  • types: fix lazy type in deprecated types (#1190) (482317b)
  • handle protocol in the domain key for different domains (#1169) (45b2b82)
i18n - v6.27.0

Published by rchl over 3 years ago

Features

i18n - v6.26.0

Published by rchl over 3 years ago

Features

  • lazy: option for not injecting messages to Nuxt state (#1153) (2231f3b), closes #1149
i18n - v6.25.0

Published by rchl over 3 years ago

Features

  • types: add NuxtI18nInstance type for use with custom accessors (#1147) (aa4f4d8), closes #1146