Visual Studio Code extension to easily translate Starlight documentation pages using the built-in support for multilingual sites and git.
- Collect supported languages from a Starlight configuration in a workspace repo or monorepo.
- Pick a language and a page to translate.
- Open side-by-side editors with the missing changes and the translated page for out-of-date pages.
- Open side-by-side editors with the source page and a newly created page for missing translated pages.
- Configurable Starlight configuration directories.
- Open a repository or monorepo containing a Starlight documentation website.
- Open the Visual Studio Code Command Palette (
Ctrl+Shift+P
orCmd+Shift+P
on macOS) - Run the
Starlight i18n
command
By default, the Starlight i18n extension will look for a Starlight configuration in an Astro configuration file located either at the root of the workspace or in a docs/
subdirectory.
You can customize the directories where the extension will look for a Starlight configuration in your Visual Studio Code User or Workspace settings.
{
"starlight-i18n.configDirectories": [".", "./docs", "./app", "./packages/docs"]
}
- Toggler - Toggle words and symbols.
- Create - Quickly create new File(s) & Folder(s).
- Trailing - Toggle trailing symbols: commas, semicolons and colons.
Licensed under the MIT License, Copyright © HiDeoo.
See LICENSE for more information.