Skip to content

i18n: How to configure a partially translated site? #4115

Closed Answered by tm-a-t
tm-a-t asked this question in Q&A
Discussion options

You must be logged in to vote

Found a better solution.

  1. Set the language cookie (like in Vitepress guide) but only on the pages that have translation available.
  2. Manually set up redirects by cookie for translated pages.

So even if the user switches between translated and untranslated pages, they always see content in their language if possible.

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
3 replies
@tm-a-t
Comment options

@brc-dd
Comment options

@tm-a-t
Comment options

Comment options

You must be logged in to vote
2 replies
@tm-a-t
Comment options

@cfinnberg
Comment options

Answer selected by tm-a-t
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants