Functions in the Long Text Editor

Features

Display the Source and Target Texts

If you want to see how the source text or target text is displayed when accessed from an application, choose Start of the navigation pathGoto Next navigation step Display Source TextEnd of the navigation path or Start of the navigation pathGoto Next navigation step Display Target TextEnd of the navigation path or the icon above the source or target text window. If the displayed text contains links to glossary definitions or other long texts, they are highlighted. You can click highlighted texts to check that all such links function correctly and that your translation is consistent with the referenced text.

Display Other Target Language

If you want to display the text in another target language, choose Start of the navigation pathGoto Next navigation step Display Other Target LanguageEnd of the navigation path. The dialog box that now appears enables you to select a target language. Alternatively, you can specify another language that is always displayed by default. To do this, call up transaction SE63, choose Start of the navigation pathUtilities Next navigation step User SettingsEnd of the navigation path, and enter the required language in the Text Display in Other Language field on the Languages tab.

The system displays your source text, and the other target language, in two separate dialog boxes.

Display and Edit Related Objects

If you choose Start of the navigation pathGoto Next navigation step Related ObjectsEnd of the navigation path, you access objects with a technical reference to the object you are currently translating such as all of the Screen Painter, interface, and report texts for the program SAPLABC, or the data element short texts that are explained by data element long text XYZ.

This function in the long text editor works in exactly the same way as the function in the short text editor. For more information, see Accessing Related Objects from the Short Text Editor.

Display Other Target Language for Related Objects

To display the translation of related objects in a target language other than your own, choose Start of the navigation pathGoto Next navigation step Other Target Language (Related Objects)End of the navigation path. To determine which target language is displayed, see the information in the Display Other Target Language section of this document.

Display and Edit XML Tags

If you have not selected the Display Tags Expanded checkbox in the long text editor settings, you can choose Start of the navigation pathUtilities Next navigation step Expand TagsEnd of the navigation path and Start of the navigation pathUtilities Next navigation step Collapse TagsEnd of the navigation path, or the Expand Tags and Collapse Tags icons, to expand or collapse the tags in your object.

To edit or copy XML tags, you must first unlock them. You can only unlock expanded tags.

To unlock expanded tags and lock them again, select them and choose Start of the navigation pathEdit Next navigation step Unlock Selected Target TextEnd of the navigation path and Start of the navigation pathEdit Next navigation step Set All LocksEnd of the navigation path or the Unlock Selected Tags and Lock All Tags icons above the target text window.

Insert XML Tags

If you want to insert tags in your translation, proceed as follows:

  1. If the tags are not already expanded, choose Start of the navigation pathUtilities Next navigation step Expand TagsEnd of the navigation path or the Expand Tags Expand Tags icon.

  2. Place the cursor in the text at the position where you need to insert the tag, and click the Insert Tag Insert Tag icon above the target text window.

    A dialog box is displayed, containing a list of all tags in the source text.

  3. Select the required tag and choose Insert Tag Insert Tag.

The tag (or a combination of opening and closing tags) is inserted into your translation.

Perform Text Compare

You can compare the current source text with a previous version of the source text in the system to determine how the text has changed since it was last translated. To do so, click the Text Compare Text Compare icon. The system compares the version number of the current source text with the version number of the previous version of the source text, and then displays the current source text again in a separate window. All changed, deleted, and new lines are highlighted, making it easier for you to update the existing translation. The Next Unchanged and Next Difference buttons enable you to navigate the list, and the Settings and All/Differences buttons enable you to determine how the list is displayed.

The text compare function continues to work after you’ve saved a raw version of your updated translation, even if you close the long text editor and open it again later. However, the text compare function stops working after you’ve saved an active version of your updated translation.

Delete Target Text

To delete the entire target text, choose Start of the navigation pathEdit Next navigation step Delete Target TextEnd of the navigation path or the Delete Target TextDelete Target Text icon above the target text window.

Undo

You can undo the last action you performed by choosing Ctrl + Z .

Copy Source Text

You can copy the source text to the target text section of the long text editor. When the source text is copied, all formatting and technical links are copied too. This means you do not have to maintain them manually in your translation, which reduces the chances of errors occurring. To copy the source text to the target text window, choose Start of the navigation pathEdit Next navigation step Copy Source TextEnd of the navigation path or the Copy Source Text Copy Source Text icon above the target text window.

Change Size of Source and Target Text Windows

There are two ways of determining the size of the source text window in relation to the size of the target text window:

  • Place the cursor on the five dots at the bottom of the source text window, depress the left mouse button, and drag the source text window up or down to its required size.

  • Click the Maximize/Restore Window Maximize/Restore Window icon above the target text window. The target text window is maximized to 100% or restored to the size it had before you maximized it.

All of the changes that you make to the size of the source and target text windows in accordance with the above information only apply to the object you are currently translating. If you leave the editor and then access this object for translation again, or another object, the size of the windows is determined by the value you entered in your long text editor settings.

Maintain Comment for Object

To create a comment for a long text object, choose Start of the navigation pathEdit Next navigation step Create Comment for ObjectEnd of the navigation path or the Create Comment for Object Create Comment for Object icon or (No comment exists for object) in the Info on this Text group box. The Comment for Object dialog box that now appears enables you to enter and then save several lines of text. The comment applies to the entire object and is displayed for all translators, irrespective of their source and target languages, in the Info on this Text group box. If the comment consists of several lines, the system only displays part of the text in the Info on this Text group box. To display the complete comment, or to change or delete a comment, click the comment in the Info on this Text group box, or choose the Display/Edit Comment for Object Display/Edit Comment for Object icon, or choose Start of the navigation pathEdit Next navigation step Display/Edit Comment for ObjectEnd of the navigation path.

Display Technical Information

To display technical information on the object you are currently translating, choose Start of the navigation pathUtilities Next navigation step Technical InformationEnd of the navigation path or the Technical Information Technical Information icon.

Translate in SAPscript Editor

To translate a SAPscript-based long text object in the SAPscript editor, rather than in the XML-based long text editor, choose Start of the navigation pathGoto Next navigation step Translate in SAPscript EditorEnd of the navigation path or Translate in SAPscript Editor Translate in SAPscript Editor. The long text is converted from XML back to SAPscript and appears in the SAPscript editor. If no translation exists yet, the source text is copied automatically to the SAPscript editor where you can overwrite it with your translation.

You must set the SAPscript line editor as the default editor. Call up a long text for translation and choose Translate in SAPscript Editor Translate in SAPscript Editor. Then choose Start of the navigation pathGoto Next navigation step Configure EditorEnd of the navigation path and ensure that neither the Graphical Form Painter nor the Graphical PC Editor checkboxes is selected.

Find and Replace

To find in the source text, or find and replace in the target text, click the Find in Target Text Find in Source Text icon above the source text window or the Find in Target Text Find in Target Text icon above the target text window. Alternatively, choose Start of the navigation pathUtilities Next navigation step Text Search Next navigation step Find Text (Source Text)End of the navigation path or Start of the navigation pathUtilities Next navigation step Text Search Next navigation step Find Text (Target Text)End of the navigation path.