Tags and placeholders
Some sentences contain bold text, links or other markup. Take this sentence on your page: "Add to cart now". The product keeps it as one string, so a translator can move the words around. To do that, it swaps the markup for numbered tags.
What you will see#
Add to <1>cart</1> nowmeans: the word "cart" sits inside the first tag pair, for example bold text.<2/>stands for something with no text inside, such as a line break or an image.⟦p1⟧is a placeholder for a value that must stay exactly as it is, such as{0},%sor{{name}}.
The rule#
Keep every tag pair and every placeholder, once each. You may change the order. A translator often has to.
Right: Ajouter au <1>panier</1> maintenant Wrong: Ajouter au panier maintenant (the tag is gone)
What the product checks#
- The editor refuses to save a translation that loses a tag or a placeholder.
- A machine translation that breaks the tags is rejected, and your original text stays on the page.
- The quality checks also flag tags that are not nested properly, extra HTML, changed placeholders, and changed escape characters.
Why it matters#
If a tag were lost, the link or bold style would disappear from the page. If a placeholder were lost, a customer's name or a price could vanish.
See Quality flags for the full list of checks.