[Idea] Switch translations to a single site
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 25/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- javascript
- Lĩnh vực
- documentation
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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
- Ngôn ngữ chính
- JavaScript
- Star
- 299
- Fork
- 218
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Không có hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của reactjs/translations.react.dev
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
reactjs/translations.react.dev#374 · 1 reaction ·
-
Nexus multiverseĐang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 15/100
-
Nexus multiverseĐang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 15/100
-
Nexus multiverseĐang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 10/100
-
Nexus multiverseĐang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 20/100
Tất cả issue của reactjs/translations.react.dev
Issue tương tự
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 85/100
-
[quality] Nothing keeps docs/skills/manifest.md in sync with docs/skills/*.mdCó thể đã có người làm @hivecommons-hive đã nhận hôm nay. Đang mởagent/quality hive/covered-by-pr hive/hosted-available-lke648397-260827-5n31 quality testing
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 77/100
apache/rocketmq-dashboard#6610 ·
Maintainer thường phản hồi trong vòng 3 ngày
-
documentation
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 95/100
githubnext/gh-aw-workshop#4535 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Global update drops overrideAccess, so Local API updateGlobal fails filterOptions validation (3.90 regression)Có thể đã có người làm @PINYOPATTANAWASANPORN đã nhận hôm nay. Đang mởarea: core Bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
payloadcms/payload#18674 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày