"This Page Is Not Yet Translated"
還沒有人認領這個 Issue。
- 主要語言
- JavaScript
- 星號
- 11.8k
- 分支
- 7.9k
- 平均合併
- 1 天 11 小時
- 30 天內合併 PR
- 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:

This would involve something like:
- A
TranslationWarningcomponent with a message on how a page isn't translated yet. - A
translatedproperty on front matter that should be set when a page is translated - Logic to show the translation warning if
translatedisn'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.
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
首先找出提議的 TranslationWarning 元件、已翻譯的 front-matter 屬性,以及 issue 中描述的語言式顯示邏輯。在規劃 codemod 之前,檢視現有的已翻譯頁面和語言進度清單;完成的標準是未翻譯的非英語頁面顯示警告,而已翻譯頁面和英語頁面不顯示警告。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- javascript, react
- 領域
- documentation, frontend, internationalization
- Issue 類型
- 功能
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100