Skip to content

Conversation

@kenji-arata
Copy link
Contributor

こちらで共有させていただいた通り、React CompilerのReference記事のconfigurationセクションを翻訳しました。意訳した箇所や文言に迷った部分にはdiffにコメントをつけています。

翻訳対象のpath
  • /reference/react-compiler/configuration
  • /reference/react-compiler/compilationMode
  • /reference/react-compiler/gating
  • /reference/react-compiler/logger
  • /reference/react-compiler/panicThreshold
  • /reference/react-compiler/target

@vercel
Copy link

vercel bot commented Oct 28, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Preview Comments Updated (UTC)
legacy-ja-reactjs-org Ignored Ignored Preview Nov 4, 2025 2:12pm

@github-actions
Copy link

github-actions bot commented Oct 28, 2025

Size changes

📦 Next.js Bundle Analysis for react-dev

This analysis was generated by the Next.js Bundle Analysis action. 🤖

One Page Changed Size

The following page changed size from the code in this PR compared to its base branch:

Page Size (compressed) First Load
/[[...markdownPath]] 133.25 KB (🟡 +3 B) 243.81 KB
Details

Only the gzipped size is provided here based on an expert tip.

First Load is the size of the global bundle plus the bundle for the individual page. If a user were to show up to your website and land on a given page, the first load size represents the amount of javascript that user would need to download. If next/link is used, subsequent page loads would only need to download that page's bundle (the number in the "Size" column), since the global bundle has already been downloaded.

Any third party scripts you have added directly to your app using the <script> tag are not accounted for in this analysis

Next to the size is how much the size has increased or decreased compared with the base branch of this PR. If this percentage has increased by 10% or more, there will be a red status indicator applied, indicating that special attention should be given to this.

Copy link
Member

@smikitky smikitky left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

数が多いため個別に指摘していないのですが、以下の対応もお願いします。

  • リファレンス項目のコロンの扱い方がバラバラなので修正してください。基本的にコロンの左側が小見出しやキーワード(和訳の対象)であれば (全角コロン、スペースなし)を使っていますが、和訳する必要のないキーワードの場合は : (半角コロン+半角スペース、つまり原文のまま)としています。

  • 見出しの訳抜けがたくさんあるので対応をお願いします。

    • Type =>
    • Options => 指定可能な値
    • Properties => プロパティ
    • Methods => メソッド

Copy link
Member

@smikitky smikitky left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

間違えてapproveしたのでstatusを変えます

主に以下の観点で指摘をいただき、修正しました。
* 訳抜け
* 日本語として違和感のある表現
* 誤った意訳

Co-authored-by: Soichiro Miki <smiki-tky@umin.ac.jp>
以下の2点について修正を行いました。
* 半角、全角コロンの扱い方を修正
* 訳抜け箇所の修正
Copy link
Contributor Author

@kenji-arata kenji-arata left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@smikitky

ご確認いただきありがとうございます。それぞれ以下の通り対応しました。私の認識違いもあり再度確認する箇所が多く、レビュー負荷が高そうに感じており心苦しいですが、お手隙の際に再レビュー頂けますと幸いです 🙇

  • suggestion いただいた点を取り込みました。4d24031
  • コロンの扱い方、見出しの訳抜けについて対応しました。 b79c411
    • リファレンス項目のコロンの扱い方について、コロンの右辺(コンテンツ部分)を翻訳する場合は全角にする方針と勘違いして作業していました。失礼しました。記載いただいた方針に倣い修正しました。今回の作業範囲ですと、例:以外は和訳する必要のないキーワードに該当する箇所のみという認識ですので、全て: に直しています。
    • 見出しの訳抜けについて、Typeなど開発者が直感的に理解できるであろう単語についてはあえて原文のままにしていたのですが、それは不適切だったようで失礼しました 🙇 (compilationModeなどのページタイトルについては、具体的なオプション名なのでそのままにしています。)

@kenji-arata kenji-arata requested a review from smikitky November 3, 2025 03:48
- React 19 includes built-in compiler runtime APIs
- React 17 and 18 require installing `react-compiler-runtime@latest`
- 数値ではなく文字列値を使用してください。(例:`17` ではなく `'17'`
- パッチバージョンを含めないでください。(例:`'18.2.0'` ではなく `'18'`
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(本当は「マイナー」が正しいですね…)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

原文に引っ張られて気づいていなかったですが、確かにマイナーバージョンから含めてはダメそうですね。

Copy link
Member

@smikitky smikitky left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

すみません指摘を忘れていましたが、2箇所だけ対応をお願いします。

Co-authored-by: Soichiro Miki <smiki-tky@umin.ac.jp>
@kenji-arata
Copy link
Contributor Author

@smikitky

追加の2箇所についてもsuggestionを取り込ませていただいたので、お手隙で再レビューお願いします 🙏
50904b5

@kenji-arata kenji-arata requested a review from smikitky November 4, 2025 13:55
Copy link
Member

@smikitky smikitky left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ありがとうございました!

@honey32 お願いします

@smikitky smikitky requested a review from Copilot November 4, 2025 14:10
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR translates React Compiler configuration documentation from English to Japanese. The changes update navigation menu items and comprehensive documentation covering all configuration options including compilation control, version compatibility, error handling, debugging, and feature flags.

  • Translation of sidebar menu entries from "Configuration" to "設定"
  • Complete Japanese translation of configuration.md and related option pages
  • Translation of detailed documentation for target, panicThreshold, logger, gating, and compilationMode options

Reviewed Changes

Copilot reviewed 8 out of 8 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
src/sidebarReference.json Updated sidebar title from "Configuration" to "設定"
src/sidebarHome.json Updated sidebar title from "Configuration" to "設定"
src/content/reference/react-compiler/target.md Translated target option documentation to Japanese
src/content/reference/react-compiler/panicThreshold.md Translated panicThreshold option documentation to Japanese
src/content/reference/react-compiler/logger.md Translated logger option documentation to Japanese
src/content/reference/react-compiler/gating.md Translated gating option documentation to Japanese
src/content/reference/react-compiler/configuration.md Translated main configuration page to Japanese
src/content/reference/react-compiler/compilationMode.md Translated compilationMode option documentation to Japanese

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Copy link
Collaborator

@honey32 honey32 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

少し気になる点をコメントさせていただきました!

確認お願いします!

```

### Incremental adoption with annotation mode {/*incremental-adoption*/}
### アノテーションを使用した段階的な導入 {/*incremental-adoption*/}
Copy link
Collaborator

@honey32 honey32 Nov 5, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ほかの「モード」と揃えると、以下のようにするのが良いかと思います!

Suggested change
### アノテーションを使用した段階的な導入 {/*incremental-adoption*/}
### アノテーションモードを使用した段階的な導入 {/*incremental-adoption*/}

- Event structure may change between versions
- Large codebases generate many log entries
- イベントの構造はバージョン間で変更される可能性があります。
- 大きなコードベースは多くのログエントリを生成します。
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

無生物主語構文らしく訳すのがベターかと思います!

Suggested change
- 大きなコードベースは多くのログエントリを生成します
- 大きなコードベースだと、多くのログエントリが生成されます

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants