Add option to automatically accept translation when importing XLF files

Created on 16 April 2025, 9 days ago

Problem/Motivation

When using the command drush tmgmt_translate_import and importing a lot of translations, it could be handy to have an option to automatically accept the translation in order to avoid reviewing them one by one in back-office.

Steps to reproduce

Import translation using drush tmgmt_translate_import and see that they're no published until being reviewed in back-office.

Proposed resolution

Add an option --accept-translation to accept the translation while importing.

Remaining tasks

Submit MR

User interface changes

None

API changes

New option --accept-translation to drush command.

Data model changes

Feature request
Status

Active

Version

1.0

Component

Translator: File

Created by

🇫🇷France tostinni

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024