Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Microsoft Translate: Microsoft secret #3

Closed
dwl-sdca opened this issue Mar 10, 2022 · 6 comments
Closed

Microsoft Translate: Microsoft secret #3

dwl-sdca opened this issue Mar 10, 2022 · 6 comments
Labels
documentation Improvements or additions to documentation

Comments

@dwl-sdca
Copy link

I don't understand this process. I've used Microsoft translate from the web. Please provide further guidance on your Quick Start Guide about how to format a proper Language Parameter for Microsoft Translate. I am completely naive about the function of "secret" and couldn't find an explanation after a search of the web.

I'm completely without any experience with the programming involved in this plugin. Thus, what I'm about to suggest may be impossibly difficult or impossible. Could you set a PDF Translate service where the user enters the 2-letter ISO code for the source language and the code for the target language and automatically generate the language parameter string?

@windingwind
Copy link
Owner

windingwind commented Mar 11, 2022

Thanks for this issue!
Here's the detailed 5 steps of getting your own Microsoft translate secret:

  1. Open https://azure.microsoft.com/en-us/free/cognitive-services/ and click start free. Login your Microsoft Account or create a new one. Select the free subscription for your account.
    image

  2. Open https://portal.azure.com/#create/Microsoft.CognitiveServicesTextTranslation
    image

  3. Click Next. You don't have to change anything in the Identity and Tags. Check status and click create.
    image

  4. Wait for the service ready. You can see your new translate service in your Azure homepage. https://portal.azure.com/#home
    image

  5. Click the transltor shown above. Copy your key.
    image

Congretulations! Your get the secret in your clipboard now.

Replace the default secret with your key in Zotero Preferrence. Don't forget to click OK before leave.

image

@windingwind windingwind added the documentation Improvements or additions to documentation label Mar 23, 2022
@he-hai
Copy link

he-hai commented Mar 27, 2022

Thanks, a nice tool. I think maybe use the word "key" like in the step 5 would make it easier to understand.

@windingwind
Copy link
Owner

Thanks, a nice tool. I think maybe use the word "key" like in the step 5 would make it easier to understand.
Updated. Thanks!

@xiaooomd
Copy link

xiaooomd commented Mar 19, 2024

My version is zotero7 beta68. I followed your steps to apply for Microsoft api. The application shows that it is not available. Have you ever encountered this kind of problem? The error is as follows: https://api.cognitive.microsofttranslator.com/translate?api-version=3.0&to=zh-CN failed with status code 401
configuration is shown in the figure image

@z1352367587
Copy link

我的版本是 zotero7 beta68。我按照您的步骤申请了 Microsoft api。应用程序显示它不可用。你有没有遇到过这种问题?错误如下:https://api.cognitive.microsofttranslator.com/translate?api-version=3.0&to=zh-CN failed,状态码为 401 配置如图所示image

区域要选全球global

@bigben446
Copy link

显示key的位数不对?

2f9ee15748ac09025c28b44e109ff3b

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

6 participants