• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers

Machine Translation Deepl

New Here ,
Aug 01, 2022 Aug 01, 2022

Copy link to clipboard

Copied

Hello all!

 

(robohelp version 2020.8.34)

 

I've been setting up my projects and am now at the point where I'm asked to look into translating our documents. Right now we publish to frameless and I'm wondering what it would look like if I finished the translation of topics. What would it look like published. Is there a button that switches to a picked language or how am I supposed to see this? 

 

I've been struggling with setting up machine translations for the provided companies: google, yandex and bing. However none of these API's are currently working for me. Luckily I can add a custom API. We've picked Deepl for this: DeepL API.  

I'm not sure what I'm supposed to do for the custom script path:

ElisaTeigeler_0-1659359696382.png

Is there anyone that could help me with this? I know it's a Javascript file but that's all I know. 

Views

222

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Aug 01, 2022 Aug 01, 2022

Copy link to clipboard

Copied

In theory it should all look the came except for your text and the screen labels being in a foreign language.

 

How it needs to be set up is described in RH2020 Translations (grainge.org)

 

How your chosen machine translator is supposed to work is something that I think you will need to find out from their site.

________________________________________________________

My site www.grainge.org includes many free Authoring and RoboHelp resources that may be of help.

 

Help others by clicking Correct Answer or Like if helpful. Found your answer elsewhere? Share it here.

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Aug 16, 2022 Aug 16, 2022

Copy link to clipboard

Copied

Thank you for your reply! 

Do I have to publish my translation projects separately or is it automatically detected what language the user is using on their computer? 

 

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Oct 03, 2022 Oct 03, 2022

Copy link to clipboard

Copied

Hi Elisa. Try using this code. It works for me when doing the machine translation with Deepl.

Arnau23165357qr5k_0-1664865124266.png

 

Moreover, the endpoint should be like this for free deepl API: 

Delete "-free" if you're using Pro version.
 
For more information check this web page: https://www.deepl.com/docs-api 
There is an example of what needs Deepl for a basic request to translate text.
 
Hope it works for you!

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Oct 04, 2022 Oct 04, 2022

Copy link to clipboard

Copied

Hello! 

 

Thank you for your reply! I'll make sure to try this a bit later on today. 

 

😄

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Nov 11, 2022 Nov 11, 2022

Copy link to clipboard

Copied

Hi,

I try your code in Robohelp too, but only get the error "Falsche Anmeldedaten" English: "wrong login".

Do I need to add my DeepL account information to the script, or as headlines in Robohelp?

Screenshot 2022-11-11 152600.png

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 13, 2022 Nov 13, 2022

Copy link to clipboard

Copied

Is the Endpunkt field correct? Arnau suggests a slightly different endpoint.

 

Also, if you are using the Pro (paid for) version, Arnau also suggests you need to delete the '-free' bit.

 

I don't do translations, so these are just suggestions for things to check based on the previous posts, until someone more knowlegeable comes along. 🙂

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Nov 14, 2022 Nov 14, 2022

Copy link to clipboard

Copied

LATEST

Hey Marcel!

 

I've direct;y copied his code and his suggestion and it worked fine! 

Here is a picture of the code and my setup in Robohelp:

ElisaTeigeler_0-1668435005924.png

Hope this helps!

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
RoboHelp Documentation
Download Adobe RoboHelp