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 Translator missing header Subscription Region #149

Open
brenoepics opened this issue Feb 26, 2024 · 3 comments
Open

Microsoft Translator missing header Subscription Region #149

brenoepics opened this issue Feb 26, 2024 · 3 comments

Comments

@brenoepics
Copy link

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!

@starcwang
Copy link
Owner

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
Copy link
Owner

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

@brenoepics
Copy link
Author

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.

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

No branches or pull requests

2 participants