Add option to redirect from local translations
还没有人认领这个 Issue。
- 主要语言
- JavaScript
- 星标
- 11.8k
- 派生
- 7.9k
- 平均合并
- 1 天 11 小时
- 30 天内合并 PR
- 11
描述
I live in Russia and my Google are searching in russian.
When I search for react-related stuff in Google, it shows me russian translation of the docs: ru.reactjs.org
But I accustomed to read english documentation for every dev stuff and russian translation are harder to understand for me than original one.
What I want from reactjs.org site is an option for memoize my preferred language. So when I navigate to ru.reactjs.org from Google this option come into play and redirect me to my preferred translation (global one in My case).
Will be glad to see this feature.
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
该 issue 一开始没有指出文件、测试或入口点。首先定位 React 文档网站的翻译和导航代码,然后确定通过本地化域名进入时如何存储和应用首选语言;当已保存的偏好将访问者重定向到该语言,同时不影响正常的文档导航时,即视为完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- javascript, react
- 领域
- documentation
- Issue 类型
- 功能
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 25/100