Prevent translation of placeholders
It would be nice if you could configure how your placeholders look like. And warn if the translation does not contain them.
I am using https://www.npmjs.com/package/i18n for example.
they allow placeholders like: "Welcome {{name}}" and "Welcome %s"
a russian translater might get the idea to write: "пожаловать {{имя}}"
which will cause the application to fail.
-
Philippe commented
I think it joins the request about HTML tags: https://poeditor.uservoice.com/forums/171919-general/suggestions/35066584-add-error-highlight-validation-for-html-tags
Translations often contain platform-specific placeholders, sometimes easy to understand like {name}, sometimes quite risky to put in the hands of non-technical translators, like %1$s.
You have at least one competitor doing a stellar job with that: these tags are not editable, and if you remove them it helps you putting them back automatically.