reactjs / reactjs/react.dev

"This Page Is Not Yet Translated"

オープン
#1,703 コメント 2 件 リアクション 7 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

localization
主要言語
JavaScript
スター
11.8k
フォーク
7.9k
平均マージ
1日 11時間
マージ済み PR(30日)
11

説明

Courtesy of @smikitky

It would be cool to have a "This Page Is Not Yet Translated" component that we can stick on pages in the translation forks that haven't had a translation yet. Even though the Spanish translation is "done", some sections like the blog aren't translated, and it would be nice to give a warning like MDN does:
MDN article with a warning in Portuguese

This would involve something like:

  • A TranslationWarning component with a message on how a page isn't translated yet.
  • A translated property on front matter that should be set when a page is translated
  • Logic to show the translation warning if translated isn't set (and the language isn't English).

This would require a code mod for all the pages that have been already translated in the various languages, but I could probably do that with a codemod by referencing their progress list.

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

まず、提案されているTranslationWarningコンポーネント、翻訳されたfront-matterプロパティ、およびissueで説明されている言語ベースの表示ロジックを見つけます。codemodを計画する前に、既存の翻訳済みページと言語の進捗リストを確認します。未翻訳の英語以外のページに警告が表示され、翻訳済みページと英語のページには表示されなければ完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
javascript, react
領域
documentation, frontend, internationalization
issue の種類
機能追加
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。