fix: fix language routing for non-Chinese homepages, /zh-cn/ -> own locale

This commit is contained in:
sanbuphy
2026-05-20 23:20:16 +08:00
parent 5ac27e907e
commit 9cbc549cae
8 changed files with 37 additions and 37 deletions
+2 -2
View File
@@ -17,10 +17,10 @@ hero:
actions:
- theme: brand
text: ابدأ vibe معًا!
link: /zh-cn/stage-1/learning-map/
link: /ar-sa/stage-1/learning-map/
- theme: alt
text: مخطط الدورة
link: /zh-cn/stage-1/learning-map/
link: /ar-sa/stage-1/learning-map/
---
<HomeFeatures />
+2 -2
View File
@@ -17,10 +17,10 @@ hero:
actions:
- theme: brand
text: Zusammen vibe starten!
link: /zh-cn/stage-1/learning-map/
link: /de-de/stage-1/learning-map/
- theme: alt
text: Kursübersicht
link: /zh-cn/stage-1/learning-map/
link: /de-de/stage-1/learning-map/
---
<HomeFeatures />
+2 -2
View File
@@ -17,10 +17,10 @@ hero:
actions:
- theme: brand
text: ¡Empezar a vibe juntos!
link: /zh-cn/stage-1/learning-map/
link: /es-es/stage-1/learning-map/
- theme: alt
text: Esquema del Curso
link: /zh-cn/stage-1/learning-map/
link: /es-es/stage-1/learning-map/
---
<HomeFeatures />
+2 -2
View File
@@ -17,10 +17,10 @@ hero:
actions:
- theme: brand
text: Commencer à vibe ensemble !
link: /zh-cn/stage-1/learning-map/
link: /fr-fr/stage-1/learning-map/
- theme: alt
text: Plan du Cours
link: /zh-cn/stage-1/learning-map/
link: /fr-fr/stage-1/learning-map/
---
<HomeFeatures />
+2 -2
View File
@@ -17,10 +17,10 @@ hero:
actions:
- theme: brand
text: 一緒にvibeを始めよう!
link: /zh-cn/stage-1/learning-map/
link: /ja-jp/stage-1/learning-map/
- theme: alt
text: コース概要
link: /zh-cn/stage-1/learning-map/
link: /ja-jp/stage-1/learning-map/
---
<HomeFeatures />
+23 -23
View File
@@ -765,7 +765,7 @@
</url>
<url>
<loc>https://datawhalechina.github.io/easy-vibe/zh-cn/guide/introduction</loc>
<lastmod>2026-05-19T11:50:24.943Z</lastmod>
<lastmod>2026-05-20T10:43:18+08:00</lastmod>
<changefreq>weekly</changefreq>
<priority>0.6</priority>
<xhtml:link rel="alternate" hreflang="zh-CN" href="https://datawhalechina.github.io/easy-vibe/zh-cn/guide/introduction"/>
@@ -781,7 +781,7 @@
</url>
<url>
<loc>https://datawhalechina.github.io/easy-vibe/zh-cn/stage-1/ai-capabilities-through-games/</loc>
<lastmod>2026-05-20T02:22:58.885Z</lastmod>
<lastmod>2026-05-20T11:23:42+08:00</lastmod>
<changefreq>weekly</changefreq>
<priority>0.9</priority>
<xhtml:link rel="alternate" hreflang="zh-CN" href="https://datawhalechina.github.io/easy-vibe/zh-cn/stage-1/ai-capabilities-through-games/"/>
@@ -797,7 +797,7 @@
</url>
<url>
<loc>https://datawhalechina.github.io/easy-vibe/zh-cn/stage-1/appendix-a-product-thinking/</loc>
<lastmod>2026-05-20T01:54:07.449Z</lastmod>
<lastmod>2026-05-20T10:43:18+08:00</lastmod>
<changefreq>weekly</changefreq>
<priority>0.9</priority>
<xhtml:link rel="alternate" hreflang="zh-CN" href="https://datawhalechina.github.io/easy-vibe/zh-cn/stage-1/appendix-a-product-thinking/"/>
@@ -813,7 +813,7 @@
</url>
<url>
<loc>https://datawhalechina.github.io/easy-vibe/zh-cn/stage-1/appendix-articles/example0-1/vibe-coding-tools-snake-game-tutorial</loc>
<lastmod>2026-05-20T02:23:05.351Z</lastmod>
<lastmod>2026-05-20T10:43:18+08:00</lastmod>
<changefreq>weekly</changefreq>
<priority>0.9</priority>
<xhtml:link rel="alternate" hreflang="zh-CN" href="https://datawhalechina.github.io/easy-vibe/zh-cn/stage-1/appendix-articles/example0-1/vibe-coding-tools-snake-game-tutorial"/>
@@ -829,7 +829,7 @@
</url>
<url>
<loc>https://datawhalechina.github.io/easy-vibe/zh-cn/stage-1/appendix-articles/example0-2/vibe-coding-tools-build-website-with-ai-coding-and-design-agents</loc>
<lastmod>2026-05-20T02:23:12.657Z</lastmod>
<lastmod>2026-05-20T10:43:18+08:00</lastmod>
<changefreq>weekly</changefreq>
<priority>0.9</priority>
<xhtml:link rel="alternate" hreflang="zh-CN" href="https://datawhalechina.github.io/easy-vibe/zh-cn/stage-1/appendix-articles/example0-2/vibe-coding-tools-build-website-with-ai-coding-and-design-agents"/>
@@ -845,7 +845,7 @@
</url>
<url>
<loc>https://datawhalechina.github.io/easy-vibe/zh-cn/stage-1/appendix-b-common-errors/</loc>
<lastmod>2026-05-19T11:08:08.284Z</lastmod>
<lastmod>2026-05-20T10:43:18+08:00</lastmod>
<changefreq>weekly</changefreq>
<priority>0.9</priority>
<xhtml:link rel="alternate" hreflang="zh-CN" href="https://datawhalechina.github.io/easy-vibe/zh-cn/stage-1/appendix-b-common-errors/"/>
@@ -861,7 +861,7 @@
</url>
<url>
<loc>https://datawhalechina.github.io/easy-vibe/zh-cn/stage-1/appendix-c-consumer-scenarios/</loc>
<lastmod>2026-05-19T12:04:51.908Z</lastmod>
<lastmod>2026-05-20T10:43:18+08:00</lastmod>
<changefreq>weekly</changefreq>
<priority>0.9</priority>
<xhtml:link rel="alternate" hreflang="zh-CN" href="https://datawhalechina.github.io/easy-vibe/zh-cn/stage-1/appendix-c-consumer-scenarios/"/>
@@ -877,7 +877,7 @@
</url>
<url>
<loc>https://datawhalechina.github.io/easy-vibe/zh-cn/stage-1/appendix-consumer-scenarios/</loc>
<lastmod>2026-05-20T01:51:53.664Z</lastmod>
<lastmod>2026-05-20T10:43:18+08:00</lastmod>
<changefreq>weekly</changefreq>
<priority>0.9</priority>
<xhtml:link rel="alternate" hreflang="zh-CN" href="https://datawhalechina.github.io/easy-vibe/zh-cn/stage-1/appendix-consumer-scenarios/"/>
@@ -893,7 +893,7 @@
</url>
<url>
<loc>https://datawhalechina.github.io/easy-vibe/zh-cn/stage-1/appendix-double-diamond/</loc>
<lastmod>2026-05-19T11:50:25.019Z</lastmod>
<lastmod>2026-05-20T10:43:18+08:00</lastmod>
<changefreq>weekly</changefreq>
<priority>0.9</priority>
<xhtml:link rel="alternate" hreflang="zh-CN" href="https://datawhalechina.github.io/easy-vibe/zh-cn/stage-1/appendix-double-diamond/"/>
@@ -909,7 +909,7 @@
</url>
<url>
<loc>https://datawhalechina.github.io/easy-vibe/zh-cn/stage-1/appendix-idea-sources/</loc>
<lastmod>2026-05-19T11:50:24.166Z</lastmod>
<lastmod>2026-05-20T10:43:18+08:00</lastmod>
<changefreq>weekly</changefreq>
<priority>0.9</priority>
<xhtml:link rel="alternate" hreflang="zh-CN" href="https://datawhalechina.github.io/easy-vibe/zh-cn/stage-1/appendix-idea-sources/"/>
@@ -925,7 +925,7 @@
</url>
<url>
<loc>https://datawhalechina.github.io/easy-vibe/zh-cn/stage-1/appendix-industry-scenarios/</loc>
<lastmod>2026-05-20T01:15:09.635Z</lastmod>
<lastmod>2026-05-20T10:43:18+08:00</lastmod>
<changefreq>weekly</changefreq>
<priority>0.9</priority>
<xhtml:link rel="alternate" hreflang="zh-CN" href="https://datawhalechina.github.io/easy-vibe/zh-cn/stage-1/appendix-industry-scenarios/"/>
@@ -941,7 +941,7 @@
</url>
<url>
<loc>https://datawhalechina.github.io/easy-vibe/zh-cn/stage-1/appendix-jobs-to-be-done/</loc>
<lastmod>2026-05-19T11:50:24.540Z</lastmod>
<lastmod>2026-05-20T10:43:18+08:00</lastmod>
<changefreq>weekly</changefreq>
<priority>0.9</priority>
<xhtml:link rel="alternate" hreflang="zh-CN" href="https://datawhalechina.github.io/easy-vibe/zh-cn/stage-1/appendix-jobs-to-be-done/"/>
@@ -957,7 +957,7 @@
</url>
<url>
<loc>https://datawhalechina.github.io/easy-vibe/zh-cn/stage-1/appendix-mom-test/</loc>
<lastmod>2026-05-19T11:50:24.873Z</lastmod>
<lastmod>2026-05-20T10:43:18+08:00</lastmod>
<changefreq>weekly</changefreq>
<priority>0.9</priority>
<xhtml:link rel="alternate" hreflang="zh-CN" href="https://datawhalechina.github.io/easy-vibe/zh-cn/stage-1/appendix-mom-test/"/>
@@ -973,7 +973,7 @@
</url>
<url>
<loc>https://datawhalechina.github.io/easy-vibe/zh-cn/stage-1/building-prototype/</loc>
<lastmod>2026-05-20T01:24:55.832Z</lastmod>
<lastmod>2026-05-20T11:23:42+08:00</lastmod>
<changefreq>weekly</changefreq>
<priority>0.9</priority>
<xhtml:link rel="alternate" hreflang="zh-CN" href="https://datawhalechina.github.io/easy-vibe/zh-cn/stage-1/building-prototype/"/>
@@ -989,7 +989,7 @@
</url>
<url>
<loc>https://datawhalechina.github.io/easy-vibe/zh-cn/stage-1/complete-project-practice/</loc>
<lastmod>2026-05-19T11:50:24.714Z</lastmod>
<lastmod>2026-05-20T10:43:18+08:00</lastmod>
<changefreq>weekly</changefreq>
<priority>0.9</priority>
<xhtml:link rel="alternate" hreflang="zh-CN" href="https://datawhalechina.github.io/easy-vibe/zh-cn/stage-1/complete-project-practice/"/>
@@ -1005,7 +1005,7 @@
</url>
<url>
<loc>https://datawhalechina.github.io/easy-vibe/zh-cn/stage-1/finding-great-idea/</loc>
<lastmod>2026-05-20T01:47:45.851Z</lastmod>
<lastmod>2026-05-20T10:43:18+08:00</lastmod>
<changefreq>weekly</changefreq>
<priority>0.9</priority>
<xhtml:link rel="alternate" hreflang="zh-CN" href="https://datawhalechina.github.io/easy-vibe/zh-cn/stage-1/finding-great-idea/"/>
@@ -1021,7 +1021,7 @@
</url>
<url>
<loc>https://datawhalechina.github.io/easy-vibe/zh-cn/stage-1/integrating-ai-capabilities/</loc>
<lastmod>2026-05-19T12:32:15.020Z</lastmod>
<lastmod>2026-05-20T11:23:42+08:00</lastmod>
<changefreq>weekly</changefreq>
<priority>0.9</priority>
<xhtml:link rel="alternate" hreflang="zh-CN" href="https://datawhalechina.github.io/easy-vibe/zh-cn/stage-1/integrating-ai-capabilities/"/>
@@ -1037,7 +1037,7 @@
</url>
<url>
<loc>https://datawhalechina.github.io/easy-vibe/zh-cn/stage-1/introduction-to-ai-ide/</loc>
<lastmod>2026-05-20T02:23:34.565Z</lastmod>
<lastmod>2026-05-20T11:23:42+08:00</lastmod>
<changefreq>weekly</changefreq>
<priority>0.9</priority>
<xhtml:link rel="alternate" hreflang="zh-CN" href="https://datawhalechina.github.io/easy-vibe/zh-cn/stage-1/introduction-to-ai-ide/"/>
@@ -1053,7 +1053,7 @@
</url>
<url>
<loc>https://datawhalechina.github.io/easy-vibe/zh-cn/stage-1/learning-map/</loc>
<lastmod>2026-05-19T11:50:24.794Z</lastmod>
<lastmod>2026-05-20T10:43:18+08:00</lastmod>
<changefreq>weekly</changefreq>
<priority>0.9</priority>
<xhtml:link rel="alternate" hreflang="zh-CN" href="https://datawhalechina.github.io/easy-vibe/zh-cn/stage-1/learning-map/"/>
@@ -1197,7 +1197,7 @@
</url>
<url>
<loc>https://datawhalechina.github.io/easy-vibe/zh-cn/stage-2/backend/database-supabase/</loc>
<lastmod>2026-04-19T17:04:12+08:00</lastmod>
<lastmod>2026-05-20T10:43:18+08:00</lastmod>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
<xhtml:link rel="alternate" hreflang="zh-CN" href="https://datawhalechina.github.io/easy-vibe/zh-cn/stage-2/backend/database-supabase/"/>
@@ -1213,7 +1213,7 @@
</url>
<url>
<loc>https://datawhalechina.github.io/easy-vibe/zh-cn/stage-2/backend/modern-cli/</loc>
<lastmod>2026-04-02T13:48:55+08:00</lastmod>
<lastmod>2026-05-17T02:30:20+08:00</lastmod>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
<xhtml:link rel="alternate" hreflang="zh-CN" href="https://datawhalechina.github.io/easy-vibe/zh-cn/stage-2/backend/modern-cli/"/>
@@ -1269,7 +1269,7 @@
</url>
<url>
<loc>https://datawhalechina.github.io/easy-vibe/zh-cn/stage-2/frontend/lovart-assets/</loc>
<lastmod>2026-04-02T13:48:55+08:00</lastmod>
<lastmod>2026-05-20T10:43:18+08:00</lastmod>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
<xhtml:link rel="alternate" hreflang="zh-CN" href="https://datawhalechina.github.io/easy-vibe/zh-cn/stage-2/frontend/lovart-assets/"/>
@@ -1420,7 +1420,7 @@
</url>
<url>
<loc>https://datawhalechina.github.io/easy-vibe/zh-cn/stage-3/cross-platform/android-app/</loc>
<lastmod>2026-04-02T13:48:55+08:00</lastmod>
<lastmod>2026-05-20T10:43:18+08:00</lastmod>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
<xhtml:link rel="alternate" hreflang="zh-CN" href="https://datawhalechina.github.io/easy-vibe/zh-cn/stage-3/cross-platform/android-app/"/>
+2 -2
View File
@@ -17,10 +17,10 @@ hero:
actions:
- theme: brand
text: Bắt đầu vibe cùng nhau!
link: /zh-cn/stage-1/learning-map/
link: /vi-vn/stage-1/learning-map/
- theme: alt
text: Đề cương khóa học
link: /zh-cn/stage-1/learning-map/
link: /vi-vn/stage-1/learning-map/
---
<HomeFeatures />
+2 -2
View File
@@ -17,10 +17,10 @@ hero:
actions:
- theme: brand
text: 開始一起 vibe
link: /zh-cn/stage-1/learning-map/
link: /zh-tw/stage-1/learning-map/
- theme: alt
text: 課程大綱
link: /zh-cn/stage-1/learning-map/
link: /zh-tw/stage-1/learning-map/
---
<HomeFeatures />