docs: remove the Uzbek locale - #203
Merged
Merged
Conversation
- delete the uz_UZ pages, locale config, search strings and dictionary - redirect old /uz_UZ/ addresses to the same page in English
Contributor
|
Hey @president-tuychiyev I appreciated your previous contribution. But we are going to remove third-language support, given AI development and convenient maintain. Please check the PR description for details. |
Contributor
|
Understood, thanks for letting me know. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
We do not have the capacity to keep a third language accurate with every release. Each new feature and breaking change has to be translated again, and a translation that lags documents APIs that have changed, which is worse than having none. Browsers can now translate the English pages well enough for readers who need another language.
What changed
uz_UZ/pages and.vitepress/config/uz_UZ.ts/uz_UZ/...addresses now redirect from the 404 page to the same page in English, keeping the anchor, so existing links and search results keep workinguz_UZ/as a language directoryThe files are deleted rather than only hidden from the language switcher, because VitePress builds every markdown file it finds: without the locale config the pages would still be published at
/uz_UZ/with the English navigation, and would stay in search and the sitemap. The content remains in git history if the language is ever brought back.The archived builds under
public/versions/are untouched, since they are frozen snapshots of older releases.Checked
pnpm docs:buildpasses and the output has nouz_UZpages/uz_UZ/the-basics/routing.html#middlewarelands on/the-basics/routing.html#middleware, and/uz_UZ/lands on/