To export translations from Google Translate, the translations should be saved (click the star icon to save the translation). Then, go to saved translations and click the "Export to Google Sheets" button. Add necessary column names, and then export the spreadsheet as a CSV file.
Input file should be a csv file with the following columns:
from_lang
# source languageto_lang
# target languagetext
# the text in the source languagetranslation
# the translation of the text in the target language
Example:
Finnish,English,Hei,Hi
Finnish,English,lisää,more
Output file will be an excel file with the following columns:
text
# the text in the source languagetranslation
# the translation of the text in the target language
```
python main.py -f data_examples/google_translate_export.csv -o data_examples/converted_anki_translations.xlsx
```