Releases: nuxt-modules/i18n
Releases · nuxt-modules/i18n
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
isoproperty 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
switchLocalePathduring 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:
$getRouteBaseNameparameter 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
installModuleare overwritten - by @BobbieGoede in #2882 (860dc) - Opt in to
import.meta.*properties - by @danielroe in #2884 (aff7f) defineI18nRoutemacro 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
loadLocaleMessagesto manually load locale messages - by @BobbieGoede in #2799 (bd8a2) - Runtime config support for
detectBrowserLanguage- by @BobbieGoede in #2824 (b6eda) - Experimental feature
switchLocalePathLinkSSRwith<SwitchLocalePathLink>component - by @BobbieGoede in #2838 (df92c)
🐞 Bug Fixes
statusCodeinrootRedirectnot 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
setLocalethrowing error when used in plugin - by @BobbieGoede in #2777 (9596b)setLocalethrows error updating locale cookie from plugin - by @BobbieGoede in #2783 (61d54)
View changes on GitHub
v8.1.0
🚀 Features
- Allow passing external links to
localePath- by @BobbieGoede in #2759 (d6874)
View changes on GitHub
v8.0.2
🐞 Bug Fixes
NuxtLinkLocaleignoringhrefprop - by @BobbieGoede in #2751 (5db73)onUnmountedwarnings triggered by composable assignment - by @BobbieGoede in #2750 (2145c)