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.
If the string includes the symbol #, the English to Ukrainian translation may not be accurate.
Please see the code below
I checked the text on deepl.com, and the translation is functioning correctly there.