Hello,

From the documentation I understand that if the manual translator (human translator) option is used then the website user (content admin) will get a XLIFF or HTML file which they then need to send to their translator.

Is it possible assign an email to a human translator (manual translation) and the XLIFF/HTML source will be sent to that email from the website. Or maybe the XLIFF/HTML source file can be saved to the server and a link send to the translator.

I saw something like this in the Translation Management module.

Once the translation is finished then the translator would need send it back to the website. Maybe a page with a simple upload form could be provided for them to do that.

This would greatly improve the manual translator workflow.

I would be happy to discuss this idea further.

All the best,
Guy Saban

Comments

cgalli’s picture

That can be mostly done with rules. here is a starting point. it does not yet send the file but it triggers an email with the link to the tmgmt job:

{ "rules_trans" : {
    "LABEL" : "trans",
    "PLUGIN" : "reaction rule",
    "REQUIRES" : [ "rules", "tmgmt" ],
    "ON" : [ "tmgmt_job_update" ],
    "IF" : [
      { "AND" : [
          { "data_is" : { "data" : [ "tmgmt-job:state" ], "value" : "1" } },
          { "data_is" : { "data" : [ "tmgmt-job-unchanged:state" ], "value" : "0" } },
          { "data_is" : { "data" : [ "tmgmt-job:translator" ], "value" : "file" } }
        ]
      }
    ],
    "DO" : [
      { "mail" : {
          "to" : "mail@translator.ch",
          "subject" : "XLIFF/HTML file created",
          "message" : "An XLIFF\u002FHTML file can be downloaded here [tmgmt-job:url] for translation.",
          "language" : [ "" ]
        }
      }
    ]
  }
}
miro_dietiker’s picture

Component: Translator: User » Core

The XLIFF should be attached to the mail.

Also a link to upload the translated XLIFF should be provided in the mail. Possibly with a token so login is not required...

Finally with the preview feature, the preview should be a default followup output result after uploading.
#1998060: Provide an in-site preview for translator

miro_dietiker’s picture

Note that for the server, we are implemeting right this feature in
#2128175: TMGMT Server mailer

miro_dietiker’s picture

Issue summary: View changes
Issue tags: +XLIFF
frederickjh’s picture

Hi!

I am wanting to do something similar. I just want to send an email as a reminder that there is new content for a local translator on the website. In the rule above the email address is hard coded as mail@translator.ch.

Does anyone know if it is possible to get the translators email address or what Entity has field condition needs added to the rule to expose it?

Thanks in advance for any help you can give!

Frederick