-
pip install -r requirements.txt
-
edit csv file e.g.
glossary_for_PRemoteM.csv
, add a new column with the name of the language code and name. -
set proxy if needed in the
glossary_maker.py
if __name__ == '__main__':
http_proxy = SyncHTTPProxy((b'http', b'127.0.0.1', 1080, b'')) proxies = {'http': http_proxy, 'https': http_proxy} translator = Translator(proxies=proxies)
-
run script
python glossary_maker.py
and it will create a new csv file with the translation result.