Exclude a word in a sentence translation
Posted: June 22nd, 2022, 11:49 pm
I have a sentence:
"Sorry, we couldn't find any results matching 'abc 123' ".
and for my case, I could just translate:
"Sorry we couldn't find any results matching:" and append the "abc 123" at the end. This is a sentence structure that lends itself better to translation.
But if I didn't want to do that and instead had something like:
"Sorry, 'abc 123' did not find any results"
I can't dynamically set the text in a label and set the label to "translate" True because it doesnt give me enough control.
Instead I put the text in a createservicenode and am using the Translate service in a method canvas so I can manipulate it better. But still I don't see a way to translate it except whatever is between the single quotes.
This actually is sounding kinda like a language pattern cause the text in the single quotes could vary.
Anyone have an idea what the solution should be?
"Sorry, we couldn't find any results matching 'abc 123' ".
and for my case, I could just translate:
"Sorry we couldn't find any results matching:" and append the "abc 123" at the end. This is a sentence structure that lends itself better to translation.
But if I didn't want to do that and instead had something like:
"Sorry, 'abc 123' did not find any results"
I can't dynamically set the text in a label and set the label to "translate" True because it doesnt give me enough control.
Instead I put the text in a createservicenode and am using the Translate service in a method canvas so I can manipulate it better. But still I don't see a way to translate it except whatever is between the single quotes.
This actually is sounding kinda like a language pattern cause the text in the single quotes could vary.
Anyone have an idea what the solution should be?