Skip to content

Conversation

sunchanglong
Copy link
Collaborator

@sunchanglong sunchanglong commented Sep 23, 2025

What's Changed in this PR

Describe the change in this PR
#2131 #2132

  • keep url when nav to other locale site.
    because docusaurus swizzle mark LocaleDropdown as unsafe, so not use React Component for implementation.

Checklist

  • Please confirm that all corresponding versions of the documents have been revised.
  • Please ensure that the content in sidebars.ts matches the current document structure when you changed the document structure.
  • This change requires follow-up update in localized docs.

Copy link

cloudflare-workers-and-pages bot commented Sep 23, 2025

Deploying greptime-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: 3d81a90
Status: ✅  Deploy successful!
Preview URL: https://780da5f2.greptime-docs.pages.dev
Branch Preview URL: https://feat-i18nlink.greptime-docs.pages.dev

View logs

@sunchanglong sunchanglong changed the title Feat/i18nlink feat: i18n link Sep 23, 2025
@sunchanglong sunchanglong marked this pull request as ready for review September 23, 2025 10:00
Copy link
Contributor

@ZonaHex ZonaHex left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I checked the preview page. Switching from 'en' to 'zh' and it works. Not sure if zh website works too.

@sunchanglong sunchanglong merged commit 49574a9 into main Sep 24, 2025
4 checks passed
@sunchanglong sunchanglong deleted the feat/i18nlink branch September 24, 2025 06:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants