'Replace a translation.
Arguments:
old_lang_code (str):
new_lang_code (str):
transcript_name (str):'

def replace_translation(self, old_lang_code, new_lang_code, transcript_name):

    language_codes = self.translations()
    index = language_codes.index(old_lang_code)
    self.select_translation_language(new_lang_code, index)
    self.upload_asset(transcript_name, asset_type='transcript', index=index)
