#!/bin/bash

# Make sure you have AWS profile already configured to run this script.

# Terms name conversion: terms-<team>-en-zh and terms-<team>-en-ja.

aws translate import-terminology \
  --name terms-pe-en-zh \
  --merge-strategy OVERWRITE \
  --terminology-data Format=CSV,Directionality=UNI \
  --data-file file://./pingcap/pe/flash/terms-pe-en-zh.csv

aws translate import-terminology \
  --name terms-pe-en-ja \
  --merge-strategy OVERWRITE \
  --terminology-data Format=CSV,Directionality=UNI \
  --data-file file://./pingcap/pe/flash/terms-pe-en-ja.csv
