It would be nice to have a drush command to request translations (e.g. for configuration translations).

Comments

mpp created an issue. See original summary.

miro_dietiker’s picture

How is this proposal microsoft specific?

I'm happy to add nice drush commands to tmgmt.

It seems to me though the more challenging part is to query the items to be added to the job by command line..

mpp’s picture

Hi Miro,

Not sure if this is to be developed in the plugins (cfr. drush commands in the file plugin) or in tmgmt itself?

You're right that the query part could become challenging but the primary use of this command would be to automate certain tasks using drush.
A command that would be particularly useful in this context is to send all untranslated config items of a given language (e.g. french) and types (field/view/...) to a given plugin (e.g. microsoft translator).

Note: There's a new way of doing drush commands in Drush 9 (See https://www.drupal.org/node/2916198).

mpp’s picture

Project: TMGMT Translator Microsoft » Translation Management Tool
Version: 8.x-1.x-dev » 7.x-1.x-dev

Moved over to tmgmt queue.

mpp’s picture

Version: 7.x-1.x-dev » 8.x-1.x-dev
charlesj’s picture

I'm looking for a very simple (hopefully!) drush interface for TMGMT -- sample usage coudl be:

drush tmgmt -node [nodenumber] -[targetlanguage] -[translator_to_use]

Hypothetical Example: drush tmgmt -node 1212 -de -googletranslate

I am helping a friend translate a very large Drupal 7 site, and a drush interface (that could be added to a script) would make things go quite a bit faster.

Does such a drush command exist? (I've not been able to find one)

Thank you!