Changelog
1.4.0 (2026-08-25)
Merge behavior has changed. A per locale themeConfig now overrides the shared one instead of losing to it, and themeConfig arrays such as nav are replaced by the more specific value instead of being merged entry by entry. Sites that relied on the previous order may see different output.
- Add
notFoundpage andskipToContentLabeltranslations for every language - Allow either the directory path or the language code as the key of the per language options (
label,link,lang,title,titleTemplate,description,head,themeConfig) - Fix
withI18nwriting into the shared translation constants, which crashed the next call withTypeErrorand could take down the dev server - Fix search translations not being applied when the provider is set through
themeConfig(#9) - Fix a per locale
themeConfigbeing overwritten by the shared one - Fix
themeConfigarrays gainingnullentries when both sides mixed value types - Fix the shared
headbeing copied into every locale, which duplicatedlink,scriptandstyletags on every page - Fix
titleTemplatebeing dropped when set tofalse - Fix
withI18nwriting back into the two options objects passed to it - Reject a
rootLocalethat is missing fromlocales, and two locales resolving to the same key - Report the format error instead of a
TypeErrorfor a malformedlocalesentry - Remove the hardcoded GitHub name from the chinese simplified, spanish and portuguese
editLinktexts - Fix mistranslated german, italian, vietnamese, indonesian, spanish, portuguese, japanese and chinese traditional strings
- Resolve supported locales through a lookup map instead of repeated linear scans
1.3.5 (2025-12-18)
- Fix search box does not work when themeConfig search provider is set (#9)
1.3.4 (2025-04-26)
- Fixed some common themeConfig settings not being merged (#8)
1.3.3 (2025-03-13)
- Do not include in the options when
editLinkis not defined (#6)
1.3.2 (2024-12-07)
- Update french translations (@paul-louyot)
1.3.1 (2024-12-07)
- Fix import of type declaration files
1.3.0 (2024-10-24)
- BREAKING CHANGES: There have been significant changes to how this plugin is used. Learn more by visiting the following documentation pages: https://vitepress-i18n.cdget.com
1.2.0 (2024-10-24)
This version is deprecated and not recommended for production use.
- BREAKING CHANGES: The
generateI18nLocaleandgenerateI18nSearchfunctions have now been merged intowithI18n. Therefore, both functions will be removed in the next version. Please refer to the documentation to migrate to thewithI18nfunction.
1.1.1 (2024-10-23)
This version is deprecated and not recommended for production use.
- Fix chinese simplified string (#1)
1.1.0 (2024-10-23)
This version is deprecated and not recommended for production use.
- BREAKING CHANGES: The
generateI18nLocaleandgenerateI18nSearchfunctions have now been merged intogenerateI18n. Therefore, both functions will be removed in the next version. Please refer to the documentation to migrate to thegenerateI18nfunction.
1.0.6 (2024-09-16)
This version is deprecated and not recommended for production use.
- Override
editLinkPatternvalue even if defined common theme configs - Add
debugPrintoption forgenerateI18nSearch
1.0.5 (2024-09-16) - Not for Production
- Add italian translations
- Allow auto set lang and label value when if not defined
- Add
debugPrintmethod - Add
disableAutoSetLangValuemethod
1.0.4 (2024-09-07) - Not for Production
- Fix import issue
1.0.3 (2024-09-07) - Not for Production
- Add chinese traditional, japanese, spanish, portuguese, russian, indonesian, german, french, vietnamese translations
- Split translation and type files
1.0.2 (2024-09-06) - Not for Production
- Add chinese simplified translation
1.0.1 (2024-09-04) - Not for Production
- Minor improvements
1.0.0 (2024-09-04) - Not for Production
Not purpose for release. Do not use production.
- Initial release