This programme translates from test.txt and outputs result into a new file using the translate package. Translate is a simple but powerful translation tool written in python with with support for multiple translation providers.
- Change
TO_LANGUAGE
constant to desired language, which has to be in the format of ISO 639-1 code (available language codes can be found here).
- Change
FROM_FILEPATH
constant to chosen filepath.
- Change
TO_FILEPATH
constant to chosen directory and/or name.