i18n

I18n module for Nuxt

MIT License

Downloads
939.2K
Stars
1.6K
Committers
81

Bot releases are visible (Hide)

i18n - v6.15.3

Published by rchl about 4 years ago

Bug Fixes

  • don't use optional chaining for compatibility reasons (#930) (2d96629), closes #929
i18n - v6.15.2

Published by rchl about 4 years ago

Bug Fixes

  • docs: add warnings regarding no_prefix strategy (#891) (bbcbad9)
  • seo: don't include queries in canonical link (d09ad9e), closes #912
  • seo: enable canonical tag for all strategies (4ae4199)
  • seo: enable self-referential canonical tags (b62fd39)
  • add x-default hreflang tag for improved SEO (#922) (b35bc57)
i18n - v6.15.1

Published by rchl about 4 years ago

Bug Fixes

  • (prefix strategy) redirect from root doesn't respect cookie locale (#890) (d3b09f5), closes #887
  • add plugins from the main context to have consistent loading order (#889) (1ec8814), closes #874
  • docs: refactor options documentation (#888) (5f295be)
i18n - v6.15.0

Published by rchl about 4 years ago

Features

Bug Fixes

  • differentDomains: Match domain properly on client if port provided (#832) (3a0bc88)

IMPORTANT

For improved SEO, it's highly recommended to set detectBrowserLanguage.onlyOnRoot to true if you are using strategy other than no_prefix with detectBrowserLanguage enabled. This will ensure that crawlers won't get redirected when crawling pages other than the root page, which would then be considered duplicate content.

This will likely become a default behavior in the future.

i18n - v6.14.2

Published by rchl about 4 years ago

Bug Fixes

  • fails at extending routes when followed by another module (#884) (c0d136b), closes #157
i18n - v6.14.1

Published by rchl about 4 years ago

Bug Fixes

  • remove postinstall script that breaks production (56f8084)
i18n - v6.14.0

Published by rchl about 4 years ago

Features

  • add cookieSecure setting to set the Secure flag on the cookie (#869) (0f2d762)
  • docs: migrate docs to Nuxt Content (#864) (affb845)
  • add setting to use cross-origin cookie for detectBrowserLocale (#853) (e446676)

Bug Fixes

  • only import build-time dependency at build time (#875) (095cc78)
  • deps: pin dependencies (#865) (d66545f)
  • docs: fix various documentation links after migration (19c516c)
  • docs: typo in Spanish accent mark (#867) (4fadb8b)
i18n - v6.13.12

Published by rchl about 4 years ago

Bug Fixes

  • force-transpile deepcopy dependency to fix IE11 (#861) (9b9fec5), closes #860
i18n - v6.13.11

Published by rchl about 4 years ago

Bug Fixes

  • lazy: null-check nuxtState as it might not exist in SPA (#859) (6763390), closes #858
i18n - v6.13.10

Published by rchl about 4 years ago

Bug Fixes

  • routes: fix routes being generated after other modules (#851) (b453191), closes #850
  • types: add types for app.localePath and co. (#849) (dfd6d76)
i18n - v6.13.9

Published by rchl about 4 years ago

Bug Fixes

  • lazy: failure to load locales on SPA navigation to default locale (#846) (c2aafd6), closes #843
i18n - 6.13.8

Published by rchl about 4 years ago

Bug Fixes

  • don't crash on missing route when parsing page component options (#841) (46bbdc5), closes #838
  • null-check route to avoid rare crashes (fc02a65)
i18n - 6.13.7

Published by rchl about 4 years ago

Bug Fixes

  • lazy: error importing file when having imports within locale.file (3cb1d2a), closes #835
i18n - 6.13.6

Published by rchl about 4 years ago

Bug Fixes

i18n - 6.13.5

Published by rchl about 4 years ago

Bug Fixes

  • lazy: don't try to copy locales to build dir at run-time (#827) (55dac74), closes #826
i18n - 6.13.4

Published by rchl about 4 years ago

Bug Fixes

  • lazy: webpack error when only default locale exists (#825) (97f1dd8), closes #824
i18n - 6.13.3

Published by rchl about 4 years ago

Bug Fixes

  • lazy: include default locale in the main bundle (#819) (6ed4ae6), closes #818
  • lazy: make client use translations loaded on the server (#823) (06bc5f1), closes #486 #663
i18n - 6.13.2

Published by rchl about 4 years ago

Bug Fixes

  • generate fallback routes for static build (#808) (c2106f7), closes #805
  • redirect loop on initial load (static mode & route with no locale) (4c9bc13), closes #798
  • types: fix type of detectBrowserLanguage to allow false (#793) (c62f19b)
i18n - 6.13.1

Published by rchl over 4 years ago

Bug Fixes

  • incorrect SEO links when vue-loader forces local i18n instance (#786) (8cf173d), closes #785
i18n - 6.13.0

Published by rchl over 4 years ago

Features

  • pass to-be-loaded locale when lazy-loading from exported function (#752) (145f3b2), closes #742

Bug Fixes

  • handling of trailing slash in localePath (#756) (1a69387), closes #717
  • initial redirect breaks reactivity in static mode (54b8186), closes #737
  • preserve query when handling rootRedirect (#771) (b201609)
  • types: extend NuxtOptions with i18n (when using i18n in the root of Nuxt config) (7c5241b)