Skip to content

v1.0.0-beta.4

Pre-release
Pre-release
Compare
Choose a tag to compare
@github-actions github-actions released this 21 Aug 15:50
· 108 commits to beta since this release

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 now defaultLanguage

  • supportedLocales is now supportedLanguages

  • 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.