[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
- 星标
- 299
- 派生
- 218
- 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
-
难度 2/5 1-3 小时 新手友好度 60/100
quarto-dev/quarto-cli#15042 ·
维护者通常 1 天内回复
-
OpenCode install copies the Pi harness directory (`.pi/`) into the OpenCode config root可能已有人在做 @gaurav0107 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 75/100
维护者通常 3 天内回复
-
难度 2/5 1-3 小时 新手友好度 70/100
NaturalIntelligence/fast-xml-parser#890 · 1 条评论 ·
维护者通常 3 天内回复
-
Docs viewer: inverted grey colormap, Phantom CT window -20 to 35 HU, smoothing up to 40 mm可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭area: docs enhancement
难度 2/5 1-3 小时 新手友好度 64/100
PyTomography/PyTomography#331 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
pnpm/get.pnpm.io#68 ·