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

Incorrect translation from English to Ukrainian if the string contains symbol # #34

Open
gregzhadko opened this issue Jun 27, 2023 · 1 comment

Comments

@gregzhadko
Copy link

gregzhadko commented Jun 27, 2023

If the string includes the symbol #, the English to Ukrainian translation may not be accurate.
Please see the code below

var translator = new Translator(authKey);

var correctTranslation = await translator.TranslateTextAsync("Test Dress-code", LanguageCode.English, LanguageCode.Ukrainian);
var incorrectTranslation = await translator.TranslateTextAsync("Test Dress-code#", LanguageCode.English, LanguageCode.Ukrainian);
Console.WriteLine(correctTranslation);      //Printed: Тестовий дрес-код - Correct
Console.WriteLine(incorrectTranslation);    //Printed: Тестовий дресс-код## Тестовий дресс-код##. - Incorrect

I checked the text on deepl.com, and the translation is functioning correctly there.

@JanEbbing
Copy link
Member

Thanks for reporting this, translations are usually consistent between web and the API, but this seems to be an exception. I let the backend team know and they are investigating.

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

No branches or pull requests

2 participants