Skip to content

v1.18.0

Choose a tag to compare

@mikecao mikecao released this 27 Sep 01:37
· 12 commits to master since this release

What's new

  • Built-in interface text ("On this page", "Copy page", search, and more) is translated per page language, with dictionaries for English, German, Spanish, French, Japanese, Simplified Chinese, and Traditional Chinese. Override any label per locale with the translations option in shiso.config.ts.
  • Standalone pages can be tagged with a navigation language, e.g. { "path": "/ja", "page": "ja/home", "language": "ja" }. Tagged pages use that language's document locale, header navigation, and language selector.
  • Switching languages on a standalone page opens the same page in the chosen language, matched by file slug without the language folder (ja/home and home).
  • Fixed the header logo to link to the home page in the current language instead of always linking to /.
  • Fixed shiso check reporting links to a top-level group's root page as unknown routes.