Working with Global Templates, Files, and Strings → Customizing and Translating SBM User Workspace Strings → Translating Strings Using XML Export and Import Wizards → Adding Translated Strings to the XML File
The Export XML wizard always exports root strings. Modifications made to the root strings are ignored during an XML import. You can, however, add a translation block to the exported file and add translated strings to it. If it is formatted correctly, the Import XML Wizard will add strings in the new block to the database, and they can be viewed by users whose user profile specifies the locale indicated in the translation block.
To add translated strings to the root strings XML file:
<translations> <translation name="locale string"></translation> </translations>
<?xml version="1.0" encoding="UTF-8"?> <ttresourceinfo> <strings> <string xml:space="preserve" resname="IDS_ABOUT">About</string> ... </strings> <translations> <translation name="en_US"> <string xml:space="preserve" resname="IDS_ABOUT">Info</string> ... </translation> </translations> </ttresourceinfo>
Copyright © 2001–2016 Serena Software, Inc. All rights reserved.