Python script that translates pptx files using Amazon Translate service.
$ virtualenv venv
$ source venv/bin/activate
$ pip install -r requirements.txt
Basic translation:
python pptx-translator.py source_language_code target_language_code input_file_path
Example execution:
python pptx-translator.py ja en input-file.pptx
For more information on available options:
python pptx-translator.py --help
usage: Translates pptx files from source language to target language using Amazon Translate service
[-h] [--terminology TERMINOLOGY]
source_language_code target_language_code input_file_path
positional arguments:
source_language_code The language code for the language of the source text.
Example: en
target_language_code The language code requested for the language of the
target text. Example: pt
input_file_path The path of the pptx file that should be translated
optional arguments:
-h, --help show this help message and exit
--terminology TERMINOLOGY
The path of the terminology CSV file
- Translates PowerPoint (.pptx) files from one language to another using Amazon Translate
- Supports custom terminology for translation
See CONTRIBUTING for more information.
This library is licensed under the MIT-0 License. See the LICENSE file.