Releases: yassinedoghri/astro-i18next
Releases · yassinedoghri/astro-i18next
v1.0.0-beta.11
1.0.0-beta.11 (2022-09-24)
Bug Fixes
v1.0.0-beta.10
1.0.0-beta.10 (2022-09-12)
Bug Fixes
v1.0.0-beta.9
1.0.0-beta.9 (2022-09-05)
Bug Fixes
v1.0.0-beta.8
1.0.0-beta.8 (2022-09-04)
Bug Fixes
v1.0.0-beta.7
1.0.0-beta.7 (2022-09-03)
Bug Fixes
- replace @proload/plugin-typescript with @proload/plugin-tsm (6f639ee)
v1.0.0-beta.6
v1.0.0-beta.5
1.0.0-beta.5 (2022-08-27)
Bug Fixes
v1.0.0-beta.4
1.0.0-beta.4 (2022-08-21)
Bug Fixes
- add depth level to relative import declarations (02ddb76)
- example: add isCurrentPath function comparing current url to localized path (ee90afb)
- language-selector: replace country-code-to-flag-emoji dependency with locale-emoji (6aee21d), closes #14
Features
- allow using i18next plugins directly in the config (114ccd7)
- cli: add generate command to create localized astro pages (17982cf), closes #13
- cli: add success feedback to generate command + add generated filepaths with verbose (9e3d4f5)
- move astro-i18next config in a standalone file to load it for CLI commands (bdf2408)
BREAKING CHANGES
- config is now a standalone file + some property names
have changed for better clarity and consistency
-
baseLanguage
is nowdefaultLanguage
-
supportedLocales
is nowsupportedLanguages
-
astro-i18next
does not load translation files anymore, the functionality has been deported to i18next's backend plugins. Use i18next-fs-backend to have the same functionality as previous versions.
v1.0.0-beta.3
1.0.0-beta.3 (2022-06-12)
Features
v1.0.0-beta.2
1.0.0-beta.2 (2022-06-06)
Features
- add utility function to localize path + improve components and overall DX (d230f00)
BREAKING CHANGES
- rename i18nextConfig to i18next in config + remove className and baseLanguage props
for LanguageSelector