I need to:
1) translate several txt (or pdf) files. They are saved in different folders in my notebook.
2) save the translated text in a new folder.
the best answer I could find on google in to use soimort, which translate a txt file.
Read on soimort:
Translate a File
Instead of using the -input option, a file URI scheme (file:// followed by the file name) can be used as a command-line argument:
$ trans :fr file://input.txt
My question is: how can I do the previous task using Ubuntu?