9
9

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Webブラウザ上で完結するGoogle翻訳を使った英文PDFの和訳

Last updated at Posted at 2020-01-21

目的

コピペや変換,改行コード消去といった前処理の必要がなく,ブラウザ上ですべて完結する英文PDFドキュメントの日本語化

方法

  1. Firefox, Chromeなどの拡張機能が使えるブラウザを使う
  2. pdf.jsのデモページを開く (https://mozilla.github.io/pdf.js/web/viewer.html)
  3. ビューアー右上の「Open File」からPDFをアップロード
    pdf.js_upload.png
  4. Simple Translate などの拡張機能を使う
    simple_translate.gif

Mouse Dictionaryなどの辞書系拡張機能も機能する
mouse_dictionary.gif

なんだったら併用もできる
both.gif

注意点

一般公開されている論文などを翻訳する用途を想定して書いているので問題ないとは思いますが,PDFファイルを外部にアップロードする形にはなります.
一応,pdf.js (https://mozilla.github.io/pdf.js/) をローカルな環境に設置することもできます.

補足

pdf.js とは

PDF.jsは、HTML5で構築されたPortable Document Format(PDF)ビューアーです。
PDF.jsはコミュニティ主導であり、Mozilla Labsによってサポートされています。私たちの目標は、PDFを解析およびレンダリングするための汎用のWeb標準ベースのプラットフォームを作成することです。

pdf.jsはバージョン19以降のFirefoxに組み込まれていて,デフォルトのPDFビューアーとして使われていたり,DropboxのPDFプレビュー機能にも使われていたりするらしい.
それにもかかわらずFirefoxのデフォルトのビューアーで拡張機能が使えない理由はよく分からない.

9
9
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
9
9

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?