Releases: nuxt-modules/i18n
Releases · nuxt-modules/i18n
v8.5.1
🐞 Bug Fixes
- Resolve plugin type import conflicts by updating module builder - by @danielroe in #3071
View changes on GitHub
v8.5.0
🚀 Features
- Add support for multi domain locales - by @DotwoodMedia, @Vincentdevreede and @DarthGigi in #3065 (93d62)
View changes on GitHub
v8.4.0
Configurable directory restructure
You can now enable and configure the directory restructure which will be the default in v9, check out the documentation for more details on the new directory restructure.
Locale iso
property rename
In v9 we are changing the locale iso
property to language
, the old usage will keep on working in v8 but we have added deprecation warnings about this upcoming change, more details on why we're renaming the property can be found here.
🚀 Features
- Configurable directory restructure - by @BobbieGoede in #3054 (c906a)
🐞 Bug Fixes
- Rename locale
iso
property tolanguage
- by @BobbieGoede in #3055 (df938) strategy: 'no_prefix'
when usingdifferentDomains
- by @BobbieGoede in #3061 (53f16)
View changes on GitHub
v8.3.3
🐞 Bug Fixes
- Encode
switchLocalePath
during SSR replacement - by @BobbieGoede in #3043 (28d22)
View changes on GitHub
v8.3.2
🐞 Bug Fixes
- Update
@nuxt/module-builder
- by @BobbieGoede in #2960 (fe300) - Locale prefixes are not added to route aliases - by @BobbieGoede in #2962 (62236)
- Unable to configure server integration using inline options - by @BobbieGoede in #3020 (856ba)
View changes on GitHub
v9.0.0-alpha.1
🚨 Breaking Changes
🐞 Bug Fixes
- Update
@nuxt/module-builder
- by @BobbieGoede in #2960 (fe300) - Locale prefixes are not added to route aliases - by @BobbieGoede in #2962 (62236)
View changes on GitHub
v8.3.1
🐞 Bug Fixes
- Ignore root when prerendering using
strategy: 'prefix'
- by @BobbieGoede in #2894 (62dff) - Locale head reactivity on locale change for
strategy: 'no_prefix'
- by @BobbieGoede in #2897 (89615) - docs: Add missing comma - by @lsvs in #2919 (4693e)
- head: Apply baseURL to head composable - by @warflash and @BobbieGoede in #2912 (6dcbf)
- types:
$getRouteBaseName
parameter type - by @BobbieGoede in #2933 (05ed0)
View changes on GitHub
v8.3.0
🚀 Features
- Experimental auto declare/import translation functions - by @BobbieGoede and @kazupon in #2858 (a5869)
- Support multiple languages on one or more domains while having different domains - by @bjerggaard in #2705 (b7a6c)
🐞 Bug Fixes
- Overwrite or unset unknown cookie locale - by @BobbieGoede in #2841 (9c82d)
- Common composable options not being passed to
getRouteBaseName
- by @BobbieGoede in #2865 (946ca) - Sync cookie when setting locale - by @BobbieGoede in #2877 (1ce4a)
- Options passed with
installModule
are overwritten - by @BobbieGoede in #2882 (860dc) - Opt in to
import.meta.*
properties - by @danielroe in #2884 (aff7f) defineI18nRoute
macro transformed inside<template>
- by @BobbieGoede in #2887 (33746)
View changes on GitHub
v8.2.0
🚀 Features
- New docs - by @MuhammadM1998 and Sébastien Chopin in #2740 (71e51)
- Add
loadLocaleMessages
to manually load locale messages - by @BobbieGoede in #2799 (bd8a2) - Runtime config support for
detectBrowserLanguage
- by @BobbieGoede in #2824 (b6eda) - Experimental feature
switchLocalePathLinkSSR
with<SwitchLocalePathLink>
component - by @BobbieGoede in #2838 (df92c)
🐞 Bug Fixes
statusCode
inrootRedirect
not working with strategy 'prefix' - by @BobbieGoede in #2785 (933a0)- Support variable default export for defineI18nConfig - by @BobbieGoede in #2792 (cf8cd)
- Use relative paths when generating types - by @aisteneciunaitevalantic in #2811 (c4384)
- Change deprecation warning version to v9 - by @BobbieGoede in #2832 (5ce79)
View changes on GitHub
v8.1.1
🐞 Bug Fixes
setLocale
throwing error when used in plugin - by @BobbieGoede in #2777 (9596b)setLocale
throws error updating locale cookie from plugin - by @BobbieGoede in #2783 (61d54)