Skip to content

docs: remove the Uzbek locale - #203

Merged
krishankumar01 merged 2 commits into
masterfrom
kkumar-gcc/remove-uz-locale
Sep 20, 2026
Merged

krishankumar01 merged 2 commits into
masterfrom
kkumar-gcc/remove-uz-locale

Conversation

@krishankumar01

@krishankumar01 krishankumar01 commented Sep 20, 2026 •

Copy link
Copy Markdown
Member

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

  • Removed the uz_UZ/ pages and .vitepress/config/uz_UZ.ts
  • Removed the locale from the site config, the Algolia search strings, the theme dictionary and the doc breadcrumb path rule
  • Old /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 working
  • Updated the add-contributor skill, which listed uz_UZ/ as a language directory
  • Also corrects the X link in the Community menu to https://x.com/goravelgolang

The 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:build passes and the output has no uz_UZ pages
  • /uz_UZ/the-basics/routing.html#middleware lands on /the-basics/routing.html#middleware, and /uz_UZ/ lands on /
  • A genuinely missing page still shows the 404
  • Language switchers list only English and 简体中文

- delete the uz_UZ pages, locale config, search strings and dictionary
- redirect old /uz_UZ/ addresses to the same page in English
@hwbrzzl

hwbrzzl commented Sep 20, 2026

Copy link
Copy Markdown
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.

@hwbrzzl hwbrzzl left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@krishankumar01
krishankumar01 merged commit 9e4a1cd into master Sep 20, 2026
1 check passed
@krishankumar01
krishankumar01 deleted the kkumar-gcc/remove-uz-locale branch September 20, 2026 11:44
@president-tuychiyev

Copy link
Copy Markdown
Contributor

Understood, thanks for letting me know.

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