[Idea] Switch translations to a single site
還沒有人認領這個 Issue。
評估
- 難度
- 5/5
- 預估耗時
- 一週以上
- 新手友好度
- 25/100
- Issue 類型
- 功能
- 描述清晰度
- 基本清楚
- 活躍度
- 停滯
- 技術堆疊
- javascript
研究方向
Start by reading the linked Gatsby translations RFC, then inspect how translated content is organized in the language repositories. The proposed scope covers moving strings into content, removing src/, serving language paths such as reactjs.org/es/docs, and redirecting existing language subdomains; done means those sources and redirects work together.
由索引模型根據 Issue 內容生成。
描述
Right now each translation has its own subdomain (es.reactjs.org, ja.reactjs.org) run as a separate website. This follows the convention of Vue and Angular but has several disadvantages.
- We lose the advantage of single page apps, since switching languages requires you to load a completely new site.
- Each language site doesn't have access to data from other sites, so we can't do things like only showing languages that have been translated in a dropdown.
Since I'm doing work on doing translations for Gatsby, which the site is based on, I'm thinking of doing some work to consolidate all the different translations under one main site.
This work entails:
- Moving all strings to markdown/yaml in
contentand removingsrc/ - Add logic in the main repo to source content from the language repositories and serve them at reactjs.org/es/docs etc.
- Redirect all languages to the main site: e.g. es.reactjs.org to reactjs.org/es
- 主要語言
- JavaScript
- 星號
- 300
- 分支
- 219
- PR 合併指標
- 30 天內沒有已合併 PR
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 有 Pull Request 範本
- 沒有貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
reactjs/translations.react.dev 的其他 Issue
-
難度 4/5 3-5 天 新手友好度 25/100
reactjs/translations.react.dev#374 · 1 個 reaction ·
-
Nexus multiverse未關閉
難度 5/5 一週以上 新手友好度 15/100
-
Nexus multiverse未關閉
難度 5/5 一週以上 新手友好度 15/100
-
Nexus multiverse未關閉
難度 5/5 一週以上 新手友好度 10/100
-
Nexus multiverse未關閉
難度 5/5 一週以上 新手友好度 20/100
查看 reactjs/translations.react.dev 的全部 Issue
相似的 Issue
-
難度 1/5 1 小時以內 新手友好度 72/100
維護者通常 1 天內回覆
-
type/bug
難度 2/5 1-3 小時 新手友好度 62/100
flarum/framework#5301 · 1 則留言 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 82/100
AOSSIE-Org/BabyNest#284 ·
維護者通常 1 天內回覆
-
status:untriaged
難度 1/5 1 小時以內 新手友好度 86/100
midnightntwrk/servicedesk#275 ·
維護者通常 1 天內回覆
-
難度 1/5 1 小時以內 新手友好度 85/100
seek4science/seek#2762 ·
維護者通常 5 天內回覆