Click here for the article that I used as a reference. The reference code is almost the same.
Install the python package googletrans with google colab and split from English txt to English and Japanese txt (and others).
about googletrans
Subtitle files (.srt and .sbv) etc. to google translate and see the translated one, the time code part and counter index are randomly changed to kanji, and the colon (:) is full-width.