easy_javadoc icon indicating copy to clipboard operation
easy_javadoc copied to clipboard

Microsoft Translator missing header Subscription Region

Open brenoepics opened this issue 1 year ago • 3 comments

Hey there!

I've been working with your project and it seems like it's missing the Ocp-Apim-Subscription-Region header for Microsoft Azure Translations in the MicrosoftTranslator.java file. You can find the base URLs here.

An example from my library here that might be helpful.

Also, I was wondering if you're open to contributions for supporting other languages like Japanese and Russian. It would be awesome to have broader language support!

brenoepics avatar Feb 26 '24 05:02 brenoepics

Thank you, I will add the Ocp-Apim-Subscription-Region header in the next version. I will consider supporting other languages, but they might be lower in priority.

starcwang avatar Feb 27 '24 07:02 starcwang

May I ask if you are delivering source code that is intended to be used in different regions?

starcwang avatar Feb 27 '24 07:02 starcwang

I will consider supporting other languages, but they might be lower in priority.

I can help with this.

May I ask if you are delivering source code that is intended to be used in different regions?

Yes, mine was made to be used in different regions, it allows proxy, multiple texts per request and all Microsoft parameters.

brenoepics avatar Feb 27 '24 16:02 brenoepics