Skip to content

Add i18n toggle button (en & zh-hans) #400

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

xiaoyu2er
Copy link

In this PR, we add translate redirect ability.

  • add a translate button at the logo sections (app/routes/_libraries/route.tsx &app/components/DocsLayout.tsx)
  • add i18n meta links

The current translate button supports two languages: english (https://tanstack.com/) & zh-Hans (https://zh-hans.tanstack.dev/)

Here are some screenshots:

image Google Chrome 2025-05-07 16 33 33 image image

Copy link

netlify bot commented May 7, 2025

👷 Deploy request for tanstack pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit c1f983e

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.

1 participant