PAGE TRANSLATE

使い方ガイド

Page Translate は、英語と日本語のWebページを、原文の位置と結びつけて翻訳するChrome拡張機能です。ページの本文だけを選んで翻訳し、訳文を選ぶと原文のある場所へ線(コネクタ)で結びます。English guide is below.

はじめに(3ステップ)

パソコン版のChrome 138以降なら、Chromeに内蔵の翻訳を使うので、APIキーなしで使えます。それより前のChrome(116以降)では、DeepLのAPIキーを登録して使います。

  1. 拡張機能をインストールする。Chromeウェブストアで「Page Translate」を追加します。ツールバーのパズルのアイコンから、Page Translate を「固定」しておくと、すぐ開けます。
  2. 翻訳する。翻訳したいページを開き、ツールバーの Page Translate のアイコンでサイドパネルを開いて、「このページを翻訳」を押します。初回だけ、Chromeの翻訳モデルのダウンロードがあり、進み具合が表示されます。
  3. 必要ならAPIキーを登録する。右上の歯車から設定を開き、「APIキー」に入力して「APIキーを保存」を押します。キーはご自身のものを使います(開発者の共有キーはありません)。
    • DeepL:DeepLで翻訳したいとき、英作文を使うとき、Chrome 138より前のChromeで使うときに必要です。DeepL API のページでキーを発行します。無料プラン(DeepL API Free)のキーは末尾が :fx で、接続先は自動で判定されます。
    • TypeSafe Jev(任意):ページから翻訳する本文を選ぶサービスです。キーを登録すると使い、なければページ側のルールで本文を選びます。

APIキーはChromeのメモリ上にだけ保存されます。Chromeを終了したり、拡張機能を更新・再読み込みしたりすると消えるので、そのときはもう一度入力してください。

ページを翻訳する

「このページを翻訳」を押すと、ナビゲーションや広告などを除いた本文が翻訳されます。表示方法は2つから選べます。

表示方法できること
原文+訳文(初期設定)ページは原文のまま、サイドパネルに訳文のカードが並びます。カードを選ぶと、ページが原文の位置までスクロールし、カードと原文がコネクタで結ばれます。コネクタは、別のカードを選ぶか、Esc を押すか、サイドパネルを閉じるまで残ります。
ページ内訳文をページの上に直接表示します。サイドパネル下の「原文に戻す」で、いつでも元に戻せます。

翻訳先は、パネル上部の「日本語へ / 英語へ」で切り替えます。翻訳できなかった文章は「この文章を翻訳」でやり直せます。

同じページを数時間以内にもう一度開くと、前回の結果を再利用するので、待たずに表示され、APIも使いません(設定で保存時間の変更・オフにできます)。訳が古いと感じたら、カードの上の「再翻訳」を押してください。

別のページへ移動したとき、またはブラウザのタブを切り替えたときは、パネルの翻訳結果は消えて最初の状態に戻ります。

原文をクリックして訳を見る(ページクリック)

ページを翻訳したあとに「ページクリック」をオンにすると、ページ上の本文をクリックするだけで、対応するカードが同じ高さに現れます。

選んだ文章だけ翻訳する(選択範囲翻訳)

ページ全体を翻訳しなくても、読んでいて分からない文章だけを、その場で翻訳できます。訳は、選んだ場所のそばのツールチップに出ます(コピーもできます)。Esc か、ほかの場所のクリックで閉じます。サイドパネルを閉じたままでも使えます。

使い方やり方
1回だけ翻訳する文章を選んで、Alt+Shift+S(Macは Control+Shift+S)を押す。または、選んだ文章を右クリックして「選択範囲を翻訳」を選ぶ。
選ぶたびに自動で翻訳するページ上で右クリックして「選択したら自動で翻訳」にチェックを入れる。または、設定の「選択したら自動で翻訳」を「オン」にする。初期値はオフです。
サイドパネルのボタンで、オンにするパネルの「選択範囲翻訳」ボタンを押すと、パネルを開いているあいだだけオンになります(パネルを閉じるとオフ)。

設定の「選択したら自動で翻訳」と、パネルの「選択範囲翻訳」ボタンは別のスイッチです。組み合わせで次のように動きます。

設定「選択したら自動で翻訳」パネルのボタン文章を選んだとき
オン(どちらでも)翻訳する。パネルを閉じていても翻訳する
オフオンパネルを開いているあいだだけ翻訳する(閉じるとボタンはオフ)
オフオフ何もしない(ショートカットか右クリックで1回だけ翻訳できる)

ページクリックがオンのあいだは、どちらも一時的に止まります(設定は変わりません)。

英作文をチェックする

サイドパネルの「英作文」タブには、2つの使い方があります。英作文はDeepLを使うため、DeepLのAPIキーを登録するまでタブは薄く表示され、押すと登録を案内します。

英文をチェック

自分で書いた英文を入れて「英文をチェック」を押すと、次を表示します。

日本語から英訳

言いたいことを日本語で書くと、英語にします。英訳(コピーできます)と、その訳し戻しを表示します。有料プランのキーなら、DeepL Writeで選んだ文体(ビジネス、カジュアルなど)に整えた英文も出ます。

ショートカット

操作Windows / LinuxMac
このページを翻訳(パネルが閉じていれば開く)Alt+Shift+YControl+Shift+Y
ページクリックのオン・オフ(未翻訳なら翻訳してからオン)Alt+Shift+KControl+Shift+K
選んだ文章を翻訳(ツールチップで表示)Alt+Shift+SControl+Shift+S

キーを変えたいときは、設定の「ショートカットを変更」から、Chromeの chrome://extensions/shortcuts を開いて設定します。ほかの拡張機能と同じキーは割り当てられず、設定に「未設定」と出ます。

設定

各項目の説明は、見出しの横の「ⓘ」を押すと表示されます。

項目内容
翻訳に使うサービス「Chrome内蔵」(初期値)か「DeepL」を選びます。Chrome内蔵は、パソコン版のChrome 138以降で使え、APIキーなしに、この端末の中で翻訳します(文章をDeepLへ送りません)。初回は翻訳モデルのダウンロードがあります。ページ内表示では、リンクなどの書式が外れます。それより前のChromeではDeepLで翻訳します。英作文はDeepLを使います。
翻訳する本文の判定「Jevを使う」(初期値)は、TypeSafe Jevが翻訳する本文を選びます。「Jevを使わない」は、ページ側のルールで除いた残りをすべて翻訳します(Jevのキーは不要)。
DeepLの接続先「自動」のとき、キーの末尾が :fx なら無料用、それ以外は有料用に接続します。合わなければ手動で選べます。
選択したら自動で翻訳サイドパネルを閉じていても、文章を選ぶたびに自動で翻訳します(初期値はオフ)。
翻訳のキャッシュ翻訳したページの結果を、この端末の拡張機能の中だけに、1・3・24時間(初期値3時間)保存します。「キャッシュを削除」で消せます。
表示テーマサイドパネルの配色を、システム・ライト・ダークから選びます。
英作文の設定英語の種類(米国・英国)、DeepL Writeの文体、「日本語を英訳するとき、開いているページを文脈として使う」(初期値はオフ)。

困ったとき

「このページと接続できませんでした」と表示される

拡張機能をインストール・更新する前から開いていたページでは、まだ拡張機能が読み込まれていません。ページを再読み込みしてから、もう一度試してください。chrome:// のページやChromeウェブストアなどでは使えません。

翻訳を押しても何も起きない・「APIキーが未設定」と出る

DeepLで翻訳する設定なら、DeepLのAPIキーを登録したか確認してください。キーはChromeを終了すると消えるので、起動し直したあとは再入力が必要です。APIキーなしで使うなら、設定の「翻訳に使うサービス」を「Chrome内蔵」にします(パソコン版のChrome 138以降)。TypeSafe Jevは、キーを登録したときだけ使います。

日本語のページ、または一部の文章が翻訳されない

翻訳先がすでに日本語のとき、日本語の文章は翻訳しません。また、本文以外(ナビゲーション、広告、メタ情報など)と、翻訳しなくてよいと判定された文章は、一覧に出ません。パネルの「表示していません」の件数で、除いた数が分かります。除かれた文章も、ページクリックで、クリックすれば翻訳できます。

ショートカットが効かない

設定の「ショートカット」に「未設定」と出ていたら、ほかの拡張機能や、Chrome自身が同じキーを使っています。chrome://extensions/shortcuts で、別のキーを割り当ててください。

選択範囲翻訳のツールチップが出ない

iframeの中、入力欄の中、PDFビューアでは使えません。また、2文字未満や、数字・記号だけの選択は翻訳しません。初めて使うときは、データ送信への同意が必要です。パネルを開いて、一度どれかの翻訳を試し、同意してください。

拡張機能を更新したあと、選択範囲翻訳(自動)が動かない

更新の前から開いていたページには、古い版の拡張機能が残っています。そのページを再読み込みしてください(ツールチップに再読み込みを求める案内が出ることもあります)。また、更新するとAPIキーが消えるので、設定でDeepLのキーをもう一度登録してください。パネルの「選択範囲翻訳」ボタンは、パネルを閉じるとオフになります。パネルを閉じたまま使うときは、設定か右クリックメニューの「選択したら自動で翻訳」をオンにしてください。

コネクタ(原文と結ぶ線)が出ない・ずれる

コネクタは、サイドパネルのカードを選んだときに出ます。出ないときやずれたときは、もう一度カードを選んでください。ページの内容が変わっていて原文が見つからないときは、もう一度ページを翻訳してください。

訳が古い・変わらない

キャッシュが使われています。カードの上の「再翻訳」を押すと、キャッシュを使わずに翻訳し直します。設定でキャッシュをオフにすることもできます。

ほかの問題・要望

GitHubのIssuesで受け付けています。

データの扱い

くわしくはプライバシーポリシーをご覧ください。


PAGE TRANSLATE

User guide

Page Translate is a Chrome extension that translates English and Japanese web pages and ties every translation to its place in the original text. It picks out the body text of a page, translates it, and draws a line (a connector) from the translation you select to its source.

Getting started (3 steps)

On desktop Chrome 138 or later, Chrome's built-in translator is used, so no API key is needed. On earlier versions (116 or later), register a DeepL API key.

  1. Install the extension. Add “Page Translate” from the Chrome Web Store, and pin it from the puzzle-piece menu so it is one click away.
  2. Translate. Open a page, click the Page Translate icon to open the side panel and press “Translate this page”. The first time, Chrome downloads its translation model and shows the progress.
  3. Register API keys if you need them. Open Settings with the gear at the top right. You use your own keys; there is no shared key from the developer.
    • DeepL: needed to translate with DeepL, for the writing tools, and on Chrome before 138. Get a key from DeepL API. Free-plan keys end in :fx; the endpoint is detected automatically.
    • TypeSafe Jev (optional): chooses which text on the page to translate. It is used when its key is registered; otherwise local rules pick the body text.

API keys are kept only in Chrome's memory. They are cleared when Chrome quits or the extension is updated or reloaded; enter them again then.

Translate a page

The body text (without navigation, ads and the like) is translated. Choose how it is shown:

Switch the target with “To Japanese / To English” at the top of the panel. Opening the same page again within a few hours reuses the earlier result; press “Retranslate” above the cards to translate from scratch. When you go to another page or switch browser tabs, the panel's results are cleared and it returns to its start screen.

Click the page to see its translation (page click)

After translating, turn on “Page click”. Clicking body text on the page shows the matching card at the same height. Clicking text that was not translated adds it as a new card and translates it. Links inside body text do not navigate while this is on. Press Esc, press the button again or close the panel to stop.

Translate only what you select (selection translation)

Translate just the passage you are stuck on, in a tooltip next to the selection (copyable; Esc or a click elsewhere closes it). It works with the side panel closed.

The translation service chosen in Settings is used (Jev is not). With Chrome's built-in translator, it translates in the page even when the panel is closed. Text already in the target language is not translated, and up to 5,000 characters can be translated at a time. It does not work inside iframes, form fields or the PDF viewer. With DeepL, the first time you must agree to the data use; if the panel is closed, follow the hint in the tooltip and agree in the panel. Chrome's built-in translator sends nothing out, so no agreement is needed.

Check your English writing

The “Writing” tab needs a DeepL API key: until one is registered it is greyed out, and clicking it explains how to register one. It has two tools. “Check my English” shows what your English conveys (a back-translation), a model translation of what you meant compared with your sentence, and — with a paid DeepL key — a DeepL Write correction. “Japanese to English” turns what you write in Japanese into English, with its back-translation and, with a paid key, a version in the style you choose.

Shortcuts

ActionWindows / LinuxMac
Translate this page (opens the panel if closed)Alt+Shift+YControl+Shift+Y
Toggle page click (translates first if needed)Alt+Shift+KControl+Shift+K
Translate the selected text (tooltip)Alt+Shift+SControl+Shift+S

Change them at chrome://extensions/shortcuts. A key another extension already uses is not assigned and shows as “Not set”.

Troubleshooting

“Could not connect to this page”

Pages that were open before the extension was installed or updated need a reload. Extension pages such as chrome:// and the Chrome Web Store cannot be translated.

Nothing happens, or “API key not set”

If you translate with DeepL, check that the DeepL key is registered in Settings. Keys are cleared when Chrome quits. To use no API key, set the translation service in Settings to Chrome's built-in translator (desktop Chrome 138 or later). TypeSafe Jev is used only when its key is registered.

A shortcut does nothing

If Settings shows “Not set”, another extension or Chrome itself uses that key. Assign another at chrome://extensions/shortcuts.

The selection tooltip does not appear

It is not available in iframes, form fields or the PDF viewer, and selections under two characters or made only of digits and symbols are skipped. The first use needs your agreement to the data use.

Automatic selection translation stops working after an update

Pages that were open before the update still run the old version: reload them. An update also clears your API keys, so register the DeepL key again. The panel's “Selection translation” button turns off when the panel closes; to keep translating with the panel closed, turn on “Translate as I select” in Settings or the right-click menu.

The translation looks out of date

A cached result is used. Press “Retranslate” above the cards, or turn the cache off in Settings.

Anything else

Please open an issue on GitHub.

Your data

When you translate a page, the text extracted from it and the page title go to TypeSafe Jev, and the text to translate goes to DeepL (only DeepL with “Don't use Jev”). With Chrome's built-in translator, translation happens on this device and nothing goes to DeepL. Selection translation sends text to DeepL only when DeepL is the chosen service; the writing tools use DeepL only. There is no server run by the developer, and page text, API keys and translations never reach the developer. See the privacy policy.