{
"confirmation": "Ich habe {privacyPolicy} und {terms} gelesen und akzeptiert."
}
Translating this to en correctly translates the string to:
"I have read and accepted {privacyPolicy} and {terms}."
But translating to it (and most other languages) results in the interpolations being placed at the start of the term instead of their original positions:
"{privacyPolicy} {terms} Ho letto e accettato e ."
The problem does not occur, if the source language is en. So first translating from de to en, and then using the english file to translate to the other languages seems to be a viable workaround.
I'm performing translations via DeepL Free API. Here is the command:
I have a
de.json
like this:Translating this to
en
correctly translates the string to:But translating to
it
(and most other languages) results in the interpolations being placed at the start of the term instead of their original positions:The problem does not occur, if the source language is
en
. So first translating fromde
toen
, and then using the english file to translate to the other languages seems to be a viable workaround.