Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

For more information about the alternate content, see: How are segments in MS Office files (Word, Excel, PowerPoint) extracted?.

How does XTM process newline tags? What does it look like in XTM Workbench and can I decide where to put them in the target text?

When your source file contains a newline tag (\n), such as in the Today is a \n sunny day., in the XTM Workbench, this text will appear as: today is a sunny day. Here, the \n tag is displayed as a whitespace character.

By default, XTM Cloud does not break segments on newline tags. The entire text remains in one segment, with the newline tag rendered as a white space.

However, we can configure XTM Cloud to handle newline tags in other ways, based on your preference:

  1. Break Segments on \n:

    • If configured, the \n will cause the text to be split into separate segments in XTM Workbench. For example:

      • Segment 1: Today is a

      • Segment 2: sunny day.

  2. Display \n as an Inline Tag:

    • We can make the \n visible as an inline tag rather than displaying it as a whitespace character. This allows the linguist to see the newline explicitly and decide where to place it in the target segment, while translating the text in XTM Workbench.