Translating text with !!variables!! via DeepL/GTranslate
-
Hello,
first of all, thanks for creating such great plugin.
I have encountered an issue, whilst translating strings that have variables like !!this!!, enclosed in double exclamation marks. When sending these strings to DeepL or Google Translate or Yandex, these variables get translated too, which is not desired at all (it then stops working in the particular plugin that I’m translating).
So this is potentially a feature recommendation – either to implement some basic syntaxes for variables in Loco Translate to make it aware of this, or (maybe better) allow the user to define how are variables in the currently translated plugin enclosed, and somehow communicate this to the DeepL or Google Translate (Ai had recommended me to exchange the !! for <x> and </x> pair tags, which DeepL/Gtranslate recognises as HTML and doesn’t translate them. That worked.
You must be logged in to reply to this topic.