Work with backslashes and new line characters, Import text, Work with backslashes and new line characters -13 – Rockwell Automation FactoryTalk View Machine Edition Users Guide User Manual

Page 213: Import text -13

Advertising
background image

12

Set up language switching

12-13

• •

Work with backslashes and new line characters

To force text to begin on a new line, precede the text with the characters

\n

. For example:

Motor\nStopped

appears in the application as:

Motor
Stopped

To make the characters \n appear as part of the text, type \\n. To make a backslash appear
in the application, type two backslashes (\\).

Import text containing multiple backslashes

If the imported text file contains an odd number of backslashes next to each other, one of
the backslashes will be ignored.

For example, the string:

Seven\\\Eight

is imported into the application as:

Seven\Eight

Import text

You can import text strings saved in Unicode text format or in Microsoft Excel
spreadsheet format.

If your text strings are in Microsoft Excel spreadsheet format, only text strings that exist
in the spreadsheet are imported. This means that existing strings in the application are not
deleted during the import if they are not in the spreadsheet.

Back up the text in your application before importing. You can do this by exporting the
text.

To import text into your application from a text file

1. From the Tools menu, select Languages.

2. In the Language Configuration dialog box, select the application language for which

to import text strings.

Save the backup file in a different location than the translated file you are about to
import.

Advertising