Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
It would be nice to have a drush command to request translations (e.g. for configuration translations).
It would be nice to have a drush command to request translations (e.g. for configuration translations).
Comments
Comment #2
miro_dietikerHow 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..
Comment #3
mpp CreditAttribution: mpp at AmeXio for District09 commentedHi 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).
Comment #4
mpp CreditAttribution: mpp at AmeXio for District09 commentedMoved over to tmgmt queue.
Comment #5
mpp CreditAttribution: mpp at AmeXio for District09 commentedComment #6
charlesj CreditAttribution: charlesj commentedI'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!