deepl-dotnet icon indicating copy to clipboard operation
deepl-dotnet copied to clipboard

Translate string literals with programming logic

Open Juanca24691 opened this issue 1 year ago • 2 comments

Currently I am developing a tool that extracts all string literals that are enclosed in double quotes from a file, the problem is that these string literals have programming logic as escape sequences and Deepl is not able to maintain that logic, this is an example of a string literal containing Russian characters that I want to translate into Spanish

"{ffffff}Дом {ffff00}№%d\n
{ffffff}Стартовая цена аукциона: {ffff00}%d BTC\n
{ffffff}Минимальная ставка: {ffff00}%d BTC\n
Завершение аукциона через: {ffff00}%s\n\n
{cccccc}%s - %d BTC\n\n
{ffffff}Укажите сумму вашей ставки:"

How should I approach this situation?

Juanca24691 avatar Dec 15 '23 03:12 Juanca24691