Skip to content

I have created a tool that can easily translate a foreign language pasted into Excel with Selenium Basic and DeepL. It is not easy to set up, but once you do, you don't need to do anything except update Chrome Driver.(Excelに貼り付けた外国語をSelenium BasicとDeepLでお手軽に翻訳してくれるツールを作りました。環境設定はお手軽ではないですが、一度、環境設定を済ませばChrome Driverの更新以外は設定不要です。)

License

Notifications You must be signed in to change notification settings

masatofujiki/SimpleTranslator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SimpleTranslator(English translation tool)

日本語 README はこちら

Click here for Selenium Basic Version

d

I created a tool to easily translate a foreign language pasted into Excel with Chrome Driver and DeepL. No special configuration is required, and no update of Chrome Driver is needed.

■ Background

I am currently working in a patent-related field and am using a search system to search for patent documents.

The patent documents that are output as search results are not only in Japanese but also in foreign languages such as English, and we sometimes read foreign language patent documents to understand the technical contents.

■ Theme

However, the translation accuracy of the translation tools provided is low, and it takes time to understand the translation results of foreign language patent documents.

■ Purpose

The idea is to provide a translation tool that can compare the translated text with the original text with high accuracy by displaying the original text in a foreign language and the translated text translated by DeepL side by side.

■ What you need

OS

  • Microsoft Windows 10 or Microsoft Windows 11

Software

  • Google Chrome
  • Microsoft Excel 2016 or Microsoft Excel 2019
  • Chrome Driver

■ How to use Simple Translator

  1. 1.SimpleTranslator zip file ← Click to download.

  2. Unzip the zip file downloaded in step 1 above, and open SimpleTranslator.xlsm in the SimpleTranslator folder.

  3. Select the language selection combo box.

    d

  4. Select the target language.

    d

  5. Select the radio button to choose the display order of "Translated Text → Source Text" or "Source Text → Translated Text".

    d

How to use it in Web articles (For how to use it in patent documents and PDF, please skip this section and go to the following sections.)

  1. Trace the English text displayed on the sample page with your mouse to copy it.

    d

  2. Right-click on sheet A2 in Excel, and select the second icon from the left under Paste Options.

    d

  3. Press the "Shaping button" to fill in the blank lines.

    d

  4. Press the "Translate (HTML)" button.

    d

  5. The "Save As" dialog box will appear.

    d

  6. Enter a name and save the file. In this case, enter "sample" and click the "Save button".

    d

  7. The translation will start and a progress bar will appear.

    d

  8. When the translation is complete, the browser will open and output the translation results.

    d

  9. The translation results will be created in HTML format in a directory in the same location as the application.

■ Reference page

  1. sample
  2. Scraping with Excel VBA without SeleniumBasic
  3. [Selenium] I want to update WebDriver automatically even with VBA!

About

I have created a tool that can easily translate a foreign language pasted into Excel with Selenium Basic and DeepL. It is not easy to set up, but once you do, you don't need to do anything except update Chrome Driver.(Excelに貼り付けた外国語をSelenium BasicとDeepLでお手軽に翻訳してくれるツールを作りました。環境設定はお手軽ではないですが、一度、環境設定を済ませばChrome Driverの更新以外は設定不要です。)

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published