Google Cloud Translation Basic plugin settings

Google Cloud Translation Basic (or Google Translate API v2) is one of the best-known machine translation services available. It offers dynamic text translation between thousands of language pairs. Google can work with more than 100 languages, offers language detection and simple, affordable pricing.

Set up Google Cloud machine translation to work with memoQ. You can also choose not to send specific texts to Google for translate.

The Google Cloud plugin will now use neural machine translation if it is available in your language combination. In some cases, neural machine translation can be much more fluent and human-like than statistical machine translation. Want to learn more? See which language pairs are available for neural machine translation.

How to get here

For a local profile:

  1. At the top of the memoQ window, in the Quick Access toolbar, click the Options quick-access-options icon. The Options window opens.
  2. On the Default resources pane, click the MT settings mt-icon icon. The MT settings pane appears.
  3. Select the MT profile you are using and click Edit under the list.
  4. On the Services tab, find the plugin you want to use. If it is active, click its row to open the Google Cloud Translation Basic plugin settings window. If it is grayed out, click its row once to turn it on, then click it again to open the settings.

For an online project:

  1. At the top of the memoQ window, in the Quick Access toolbar, click the Resource console icon-resconsole icon. The Resource console window opens.
  2. In the Server URL list, choose or type the server's address. Click the Select icon-select button.
  3. In the left-side pane, click the MT settings mt-icon icon. The MT settings pane appears.
  4. Select the MT profile you are using and click Edit under the list.
  5. On the Services tab, find the plugin and click its row. If it is active, click its row to open the Google Cloud Translation Basic plugin settings window. If it is grayed out, click its row once to turn it on, then click it again to open the settings.

google-cloud-basic

What can you do?

  1. Get your access. To learn how, see the memoQ Help Center. At the end, you will have a Google API Key.
  2. Under Key for API v2.0, paste your API key.
  3. In the Referer box, enter localhost.
  4. Normally, when memoQ sends text to Google, the tags are not sent. The translation you get back from Google will not contain any tags. memoQ will insert all the tags at the end of the machine-translated text. Choose how to handle tags with the Formatting and lookup dropdown:

    • To use no formatting and no tags: Choose Use plain text only.
    • To use formatting but use no tags: Choose Use text and formatting.
    • To use both formatting and tags: Choose Use both formattings and tags.

    To leave the tags out altogether, clear the Insert required tags at the end of the translation check box.

    Do not send sensitive text to Google: Type a regular expression in the Do not translate segments that match the following regex box. If you need assistance, open the Regex Assistant: Click the icon-regex-assistant icon on the right, and create a regex, or choose one from the regex library. Then click the Insert regex button. memoQ inserts your regex into the text boxes as needed. If a segment has text that matches the regular expression, memoQ will not send that segment to the Google MT service. For example, if you do not want to send segments that contain dollar amounts, write USD [0-9]+ or \$ [0-9]+ in this text box.

    If you send tags to Google, choose the format: XML or HTML. MT services sometimes have problems with tags. Try both options, and see which one works better for your language pairs.

    Different settings work better for some language pairs? On the Resource Console, clone your MT settings, and in the cloned one, choose the other option from the Request format dropdown. You now have two MT settings resources, and can use the best one for each project.

  5.  

When you finish

To save the settings and return to the Default resources tab of the Options window (or to the Resource console): Click OK, then click OK again.

To return to the Default resources tab of the Options window (or to the Resource console), without saving the new settings: Click Cancel, then click Cancel again.

To use the MT output in the translation editor:

  1. Open a project with a supported language pair.
  2. On the left side of the Project home or memoQ online project screen, click Settings.
  3. In the top bar, click the MT settings  icon.
  4. Choose the MT profile in the project, or one you want to add to the project. Below the list, click Edit.
  5. On the Services tab of the Edit machine translation settings window, check the plugin's check box on the left.
  6. On the Settings tab of the Edit machine translation settings window, in the Translation results area, choose a setting other than Off.
  7. Open a document for editing, and see the machine-translated suggestions.

To use the MT output in pre-translation:

  1. Open a project with a supported language pair.
  2. On the left side of the Project home or memoQ online project screen, click Settings.
  3. In the top bar, click the MT settings  icon.
  4. Choose the MT settings resource in the project, or one you want to add to the project. Below the list, click Edit.
  5. On the Services tab of the Edit machine translation settings window, check the plugin's check box on the left.
  6. On the Settings tab of the Edit machine translation settings window, select the plugin from the Pre-translation dropdown.
  7. Run Pre-translate. In the Pre-translate and statistics window, check the Use machine translation if there is no TM match check box. (memoQ will remember this.)