Topic on User talk:ENeRZet

Shirayuki (talkcontribs)

Hi. If you do not use <tvar>...</tvar> tags at all, please do not add <translate>...</translate> tags.

ENeRZet (talkcontribs)

Hello. I do not understand. How else should I mark the text intended for translation? For now, I don't want to deal with translations of the entire page, but only to complete the marking of the text on a page that has already been marked for translation and only some text was not marked by mistake. Thank you

Shirayuki (talkcontribs)

Please do not add translate tags. It creates extra work to add tvar tags.

Shirayuki (talkcontribs)
Shirayuki (talkcontribs)

See 6129921.

When adding <translate>...</translate> tags, clearly distinguish between inline elements and block elements. Items with a newline character immediately after the <translate> tag or separated by a blank line from the preceding translation unit are considered block elements. Items where <translate>...</translate> fits within a single line are considered inline elements.

When multiple sentences are all within the same paragraph, make each sentence an inline element and ensure that the first sentence doesn't become a block element.

Correct:

<translate>
== block element ==
</translate>
<translate>inline element1</translate>
<translate>inline element2</translate>
<translate>inline element3</translate>

Incorrect:

<translate>
== block element ==

block element1</translate>
<translate>inline element2</translate>
<translate>inline element3</translate>
Reply to "Adding translate tags"