@transaction.commit_on_success
def _save_translation(resource, target_language, user, content):
    fb = FormatsBackend(resource, target_language, user)
    return fb.import_translation(content)
Save a new translation file for the resource.
dataset/ETHPy150Open rvanlaar/easy-transifex/src/transifex/transifex/resources/views.py/_save_translation