Skip to content

04. Tags

The relevant section in the guides...

See the relevant section in your guide:

Translation Reconciliation Adaptation Verification


Exercise 04.1: insert paired tags

  1. Press Ctrl+J and enter 40 to go to segment #40, which is untranslated.

    Source text reads: Click <g1>Play</g1> to see it in action.

  2. Notice the two tags in the segment.

  3. With your mouse, hover over the two tags and notice how the two tags are paired.

    The first tag stands for <strong> and the second tag stands for </strong>.

  4. Translate segment #40.

    Suggested translation: Cliquez sur Jouer pour voir ça en action.

  5. Select the part of the translation that corresponds to "Play"

    Tip: you should select Jouer

  6. Press Ctrl+Space to open the auto-completer.

  7. Press Ctrl+Space several times to cycle through all the sections in the auto-completer. Stop when you reach the “Missing tags” section.
  8. The first option (i.e. <g1>|</g1>) is selected by default. Press Enter to insert tag pair.
  9. Notice how the two paired tags are inserted around the selected text in the translation.

    Expected result: Cliquez sur <g1>Jouer</g1> pour le voir en action.

Well done!

Exercise 04.2: see what tags stand for

  1. Go to segment #41.

    Source text reads if <x1/> sensor detects black

  2. Notice how the segment contains one standalone tag.

  3. Hover over the tag to see what the tag stands for.

    The tooltip should show {{ sensor_type }}

  4. Go to the next segment, #42.

  5. Notice how this segment has two standalone tags, not two paired tags!
  6. Check what the two tags stand for.

    The tooltips should show {{ object1 }} and {{ object2 }}

Warning

The difference between two standalone tags and two paired tags is very important.

Exercise 04.3: insert standalone tags

  1. Go to segment #43.
  2. Notice that the tag is missing in the translation.
  3. Place the mouse cursor in the position where you would like to insert the tag.

    Tip: right at the end of the translation

  4. Press Ctrl+Space to launch the auto-completer and insert the tag.

  5. Go to segment #44.
  6. Notice how the tag is also missing in this translation.
  7. Place the mouse cursor in the position where you would like to insert the tag.

    Tip: click between tourner à droite jusqu'à ce que and le capteur détecte le noir

  8. Use the auto-completer to insert the missing tag.

Exercise 04.4: insert standalone tag as you translate

  1. Go to segment #45.
  2. To translate the segment and insert the tag, proceed in this way:
  3. Translate "repeat"

    Suggested translation of the first part: répéter

  4. Use the auto-completer to insert the missing tag

    Remember the shortcut to launch the auto-completer is Ctrl+Space.

  5. Translate "times"

    Suggested translation of the second part: fois

You have inserted the tag as you made progress through the translation.

Exercise 04.5: trigger the tag tooltip

  1. Press Ctrl+J and enter 48 to go to segment #48.

    Source text reads: The translator had to pay attention to formatting such as <g1>bold</g1>, <g2>italics</g2>, <g3>underline</g3>.

  2. Hover over the tags with your mouse to display a tooltip that shows the line code the tags stand for.

    Tip: the tooltip should display HTML tags <strong>, <em>, <span class="underline"> etc.

Exercise 04.6: insert more tags

  1. Still in segment #48, press Ctrl+I to insert the fuzzy match.
  2. Notice how most tags are missing in the translation.
  3. Select the part of the translation that corresponds to “bold”

    Tip: le gras

  4. Press Ctrl+Space to open the "Missing tags" section in the auto-completer.

    The first line (i.e. <g1></g1>) is selected by default.

  5. Press Enter to insert the tag pair that appears in the first line of the auto-completer.

  6. Notice how the tags have been inserted around the selected text

    Results should be <g1>le gras</g1>

  7. Do the same for the translation of “italics”

    Results should be <g2>l’italique</g2>

  8. Notice how you cannot insert a tag pair around the translation of “underline” because closing tag </g3> is already inserted.

  9. Place the mouse cursor in the position where you would like to insert the tag that is paired with </g3>.

  10. Use the auto-completer (Ctrl+Space) to insert tag <g3>.

    Results should be <g3>le soulignement</g3>

Well done!