Skip to content

i18n(uz): add Uzbek localization and fix dynamic hero routing#3836

Open
cto-mindset wants to merge 6 commits into
tauri-apps:v2from
cto-mindset:v2
Open

i18n(uz): add Uzbek localization and fix dynamic hero routing#3836
cto-mindset wants to merge 6 commits into
tauri-apps:v2from
cto-mindset:v2

Conversation

@cto-mindset
Copy link
Copy Markdown

Description
This PR introduces the initial Uzbek (uz) localization and fixes a navigation issue in the Hero component.

  1. Uzbek Localization (i18n):

Added uz locale to locales.json.

Created Uzbek version of the landing page (src/content/docs/uz/index.mdx).

Added RSS feed page for Uzbek locale (src/content/docs/uz/rss.mdx).

  1. Navigation Fix:

Fixed the "Get Started" button in Hero.astro. Previously, it was hardcoded to /start/, which redirected localized users back to the English docs.

The button now dynamically resolves the href based on the current Astro.url.pathname, ensuring users stay within their selected language (e.g., /uz/ -> /uz/start/).

Verified this fix across other locales (Spanish, Korean) to ensure it's a universal solution.

@cto-mindset cto-mindset requested a review from a team as a code owner May 18, 2026 18:14
@github-project-automation github-project-automation Bot moved this to 🪵 Backlog in Documentation May 18, 2026
@netlify
Copy link
Copy Markdown

netlify Bot commented May 18, 2026

Deploy Preview for tauri-v2 failed.

Built without sensitive environment variables

Name Link
🔨 Latest commit 72e8a6b
🔍 Latest deploy log https://app.netlify.com/projects/tauri-v2/deploys/6a11885f35c68d0007174f24

Comment thread src/components/Hero.astro
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.

can you move this fix to a new PR? also I think it currently only happens on ja locale, not sure why, it may be a configuration elsewhere

Copy link
Copy Markdown
Contributor

@vasfvitor vasfvitor May 23, 2026

Choose a reason for hiding this comment

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

also, do you have anyone to help us review the translation? it would be best, but not blocking if you don't

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: 🪵 Backlog

Development

Successfully merging this pull request may close these issues.

2 participants