Tags: Anomander43/astro-i18next
Tags
chore(release): 1.0.0-beta.5 [skip ci] # [1.0.0-beta.5](yassinedoghri/astro-i18next@v1.0.0-beta.4...v1.0.0-beta.5) (2022-08-27) ### Bug Fixes * **build:** remove components and utils from build + set components export to src ([bb7ab0f](yassinedoghri@bb7ab0f)), closes [yassinedoghri#18](yassinedoghri#18) * **generate:** inject changeLanguage statement after imports and before frontmatter logic ([4d74e0b](yassinedoghri@4d74e0b)), closes [yassinedoghri#23](yassinedoghri#23) * type definitions for exported astro components ([bb60949](yassinedoghri@bb60949)), closes [yassinedoghri#18](yassinedoghri#18)
chore(release): 1.0.0-beta.4 [skip ci] # [1.0.0-beta.4](yassinedoghri/astro-i18next@v1.0.0-beta.3...v1.0.0-beta.4) (2022-08-21) ### Bug Fixes * add depth level to relative import declarations ([02ddb76](yassinedoghri@02ddb76)) * **example:** add isCurrentPath function comparing current url to localized path ([ee90afb](yassinedoghri@ee90afb)) * **language-selector:** replace country-code-to-flag-emoji dependency with locale-emoji ([6aee21d](yassinedoghri@6aee21d)), closes [yassinedoghri#14](yassinedoghri#14) ### Features * allow using i18next plugins directly in the config ([114ccd7](yassinedoghri@114ccd7)) * **cli:** add generate command to create localized astro pages ([17982cf](yassinedoghri@17982cf)), closes [yassinedoghri#13](yassinedoghri#13) * **cli:** add success feedback to generate command + add generated filepaths with verbose ([9e3d4f5](yassinedoghri@9e3d4f5)) * move astro-i18next config in a standalone file to load it for CLI commands ([bdf2408](yassinedoghri@bdf2408)) ### BREAKING CHANGES * config is now a standalone file + some property names have changed for better clarity and consistency - `baseLocale` is now `defaultLanguage` - `supportedLocales` is now `supportedLanguages`` * `baseLanguage` is now `baseLocale` in config options
chore(release): 1.0.0-beta.3 [skip ci] # [1.0.0-beta.3](yassinedoghri/astro-i18next@v1.0.0-beta.2...v1.0.0-beta.3) (2022-06-12) ### Features * add HeadHrefLangs component + localizeUrl util function ([cd4095e](yassinedoghri@cd4095e)) * add i18next namespaces + validate config before processing it ([10b40cc](yassinedoghri@10b40cc)) * allow passing functions to i18next init ([ed7c721](yassinedoghri@ed7c721))
chore(release): 1.0.0-beta.2 [skip ci] # [1.0.0-beta.2](yassinedoghri/astro-i18next@v1.0.0-beta.1...v1.0.0-beta.2) (2022-06-06) ### Features * add utility function to localize path + improve components and overall DX ([d230f00](yassinedoghri@d230f00)) ### BREAKING CHANGES * rename i18nextConfig to i18next in config + remove className and baseLanguage props for LanguageSelector
chore(release): 1.0.0-beta.1 [skip ci] # 1.0.0-beta.1 (2022-05-12) ### Bug Fixes * include LanguageSelector component to release files ([efa1961](yassinedoghri@efa1961)) * replace language-flag-colors with country-code-to-flag-emoji dependency ([7d4d408](yassinedoghri@7d4d408)) * update package.json's exports value ([86d7cf9](yassinedoghri@86d7cf9)) * update publish workflow to include bundled package in dist ([5428dc3](yassinedoghri@5428dc3)) * update utils path to relative in Trans component ([c767fe3](yassinedoghri@c767fe3)) * **workflow:** download bundle artifact into dist path to include it into package ([3fb5a78](yassinedoghri@3fb5a78)) ### Features * add astro integration --> initialize i18next upon astro:config:setup ([78ec744](yassinedoghri@78ec744)) * add LanguageSelector component to select language from supported locales ([ad3fe2a](yassinedoghri@ad3fe2a)) * add showFlag attribute to LanguageSelector to display the flag emoji or not ([a4b2f98](yassinedoghri@a4b2f98)) * add Trans component to interpolate translation strings with its contents ([14ff1bd](yassinedoghri@14ff1bd)) * load translation resources automatically + add example website ([48dd98e](yassinedoghri@48dd98e)) * prefix language name with language flag emoji using language-flag-colors ([7e09d93](yassinedoghri@7e09d93))
chore(release): 1.0.0-alpha.9 [skip ci] # [1.0.0-alpha.9](yassinedoghri/astro-i18next@v1.0.0-alpha.8...v1.0.0-alpha.9) (2022-05-12) ### Features * load translation resources automatically + add example website ([48dd98e](yassinedoghri@48dd98e))
chore(release): 1.0.0-alpha.8 [skip ci] # [1.0.0-alpha.8](yassinedoghri/astro-i18next@v1.0.0-alpha.7...v1.0.0-alpha.8) (2022-04-30) ### Bug Fixes * **workflow:** download bundle artifact into dist path to include it into package ([3fb5a78](yassinedoghri@3fb5a78))
chore(release): 1.0.0-alpha.7 [skip ci] # [1.0.0-alpha.7](yassinedoghri/astro-i18next@v1.0.0-alpha.6...v1.0.0-alpha.7) (2022-04-30) ### Bug Fixes * update publish workflow to include bundled package in dist ([5428dc3](yassinedoghri@5428dc3))
chore(release): 1.0.0-alpha.6 [skip ci] # [1.0.0-alpha.6](yassinedoghri/astro-i18next@v1.0.0-alpha.5...v1.0.0-alpha.6) (2022-04-30) ### Features * add astro integration --> initialize i18next upon astro:config:setup ([78ec744](yassinedoghri@78ec744))
chore(release): 1.0.0-alpha.5 [skip ci] # [1.0.0-alpha.5](yassinedoghri/astro-i18next@v1.0.0-alpha.4...v1.0.0-alpha.5) (2022-04-30) ### Bug Fixes * replace language-flag-colors with country-code-to-flag-emoji dependency ([7d4d408](yassinedoghri@7d4d408))
PreviousNext