Skip to content
CDGet
  • Home
  • Projects
  1. Home
  2. All projects
  3. VitePress i18n

VitePress i18n

LibraryUtility

A VitePress plugin that translates the default theme and its search box. One short configuration covers every language a documentation site serves.

Homepage (opens in a new tab)Documentation (opens in a new tab)Source code (opens in a new tab)

About this project

VitePress i18n translates the parts of a VitePress site the default theme writes itself — the navigation labels, the outline heading, the previous and next links, the last-updated line and the search interface — so a multilingual documentation site does not begin with a block of theme configuration copied once per language.

One wrapper function takes the locales a site supports and returns the configuration VitePress expects, with every locale filled in. Thirteen languages are carried today, English, Korean, Chinese, Japanese, Spanish, Portuguese, Russian, German and French among them, and any string can still be overridden where a project words something its own way.

The package has zero dependencies, ships TypeScript declarations, tracks the current VitePress release, and can be dropped into as many documentation sites as an organisation keeps without the same translation table being maintained in each of them.

Features

  • Documentation site

  • TypeScript types

  • Multiple languages

  • Verified by tests

  • No dependencies

Project information

Started
2024
License
MIT (opens in a new tab)
Programming languages
JavaScript
Tags
vitepressvitepress-plugini18ntranslationdocumentation
Packages
vitepress-i18n (opens in a new tab)npm
Popularity
18
GitHub stars
1,842
npm downloads
Data points: 30. Range: 0 to 144.
VitePress i18n — npm downloads, Last 30 days
npm downloads
Sep 265
Sep 30
Sep 4111
Sep 5132
Sep 667
Sep 70
Sep 80
Sep 951
Sep 1073
Sep 1155
Sep 1244
Sep 1348
Sep 1456
Sep 150
Sep 1655
Sep 1783
Sep 1863
Sep 1975
Sep 2037
Sep 21144
Sep 2274
Sep 2376
Sep 2459
Sep 2529
Sep 2655
Sep 2772
Sep 28100
Sep 2959
Sep 3079
Oct 180
Last 30 days
ContactDonate
The projects listed here are open source under the MIT License.© 2026 CDGet. All rights reserved.