v6 Breaking Changes
vite-plugin-i18n-ally/client
i18nAlly
is now a class and renamed toI18nAllyClient
, instead of being a function. You need to usenew
to create an instance.allLanguages
/allNamespaces
have been renamed tosupportedLngs
/supportedNs
.onInit
has been renamed toonBeforeInit
.language
/languages
have been renamed tolng
/lngs
.namespace
/namespaces
have been renamed tons
.getLanguages
/getNamespaces
have been renamed togetSupportedLngs
/getSupportedNs
.
The naming conventions are now aligned with i18next
for better compatibility.
vite-plugin-i18n-ally/server
This is a new feature in v6 that supports using i18n-ally
on the server to fetch internationalization resources, and provides language detection based on request cookie
.