After completing this topic, you will be able to customize language resources.
Steps:
You want to customize the text for the Actions link that appears in the bubble headers when you play a topic. You want to change "Actions" to "Actions menu".
These language changes for English are made in the resource.xml file in the lang/en folder.
Step 1Open the lang/en folder in the WSG skin.
Double-click the lang list item.
Step 2Double-click the en list item.
Step 3Open the resource.xml file in Notepad.
Double-click the resource.xml list item.
Step 4Move the ending resources tag down to provide space for a new element.
Click at the beginning of the last line, </resources>.
Step 5Press [Enter] to push the ending tag down.
Step 6Open the resource.xml file in the Player project so that you can copy the language element.
Click the Player_WSG tab.
Step 7Open the lang/en folder in the Player_WSG project.
Double-click the lang list item.
Step 8Double-click the en list item.
Step 9Open the resource.xml file in Notepad.
Double-click the resource.xml list item.
Step 10You want to find the element set to use the "Actions" value.
Use the Find command to search for the text that you want to replace.
Click the Edit menu.
Step 11Click the Find command.
Step 12Search for the text "Actions".
Enter the desired information into the Find what field. Enter
Click the Find Next button.
Step 14Close the Find dialog box.
Click the Close button.
Step 15Search finds the interface_action element for the Actions menu.
You want to copy the entire element to the skin.
Step 16Copy the interface_action element, including the indent.
Click at the beginning of the interface_action element statement.
Step 17Press the [Shift] key and click at the end of the interface_action element statement.
Step 18Copy the selected text.
Click the Edit menu.
Step 19Click the Copy command.
Step 20We have switched to the resource.xml file in the WSG skin.
Step 21Paste the copied element in the blank line above the ending </resources> tag.
Click the blank line above the ending </resources> tag.
Step 22Paste the copied element.
Click the Edit menu.
Step 23Click the Paste command.
Step 24Change the "Actions" text to "Actions menu". We have selected the "Actions" text for you.
Step 25Enter the desired information into the field. Enter
Save the WSG resource.xml file.
Click the File menu.
Step 27Click the Save command.
Step 28Close the WSG resource.xml file.
Click the Close button.
Step 29Close the Player_WSG resource.xml file.
Click the Close button.
Step 30Close the Player_WSG publishing project.
Click the Close button.
Step 31Close and save the WSG skin.
Click the Close button.
Step 32Confirm the save.
Click the Yes button.
Step 33We have published the content and launched the Opening a Document topic in Try It! mode.
The text for the Actions link in the bubble now appears as "Actions menu".
Step 34After completing this topic, you are able to customize language resources.