ug_ldk_t_id_localizethetext_202localizethetext.html 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xml:lang="en-us" lang="en-us">
  3. <head xmlns="">
  4. <!--
  5. Licensed Materials - Property of IBM
  6. IBM Cognos Products: DOCS
  7. © Copyright IBM Corp. 2005, 2014
  8. US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  9. -->
  10. <meta name="Copyright" content="© Copyright IBM Corp. 2005, 2014."></meta>
  11. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  12. <meta name="copyright" content="© Copyright IBM Corporation 2014" />
  13. <meta name="DC.Rights.Owner" content="© Copyright IBM Corporation 2014" />
  14. <meta name="security" content="public" />
  15. <meta name="Robots" content="index,follow" />
  16. <meta name="DC.Type" content="task" />
  17. <meta name="DC.Title" content="Customizing the Text" />
  18. <meta name="abstract" content="Use the following procedure to customize the text." />
  19. <meta name="Description" content="Use the following procedure to customize the text." />
  20. <meta name="DC.Relation" scheme="URI" content="ug_ldk_c_localizethetext.html#LocalizetheText" />
  21. <meta name="DC.Date" scheme="iso8601" content="2014-08-19" />
  22. <meta name="DC.Format" content="XHTML" />
  23. <meta name="DC.Identifier" content="id_LocalizetheText_202LocalizetheText" />
  24. <meta name="DC.Language" content="en-us" />
  25. <meta name="IBM.Country" content="ZZ" />
  26. <!-- Licensed Materials - Property of IBM -->
  27. <!-- US Government Users Restricted Rights -->
  28. <!-- Use, duplication or disclosure restricted by -->
  29. <!-- GSA ADP Schedule Contract with IBM Corp. -->
  30. <link rel="stylesheet" type="text/css" href="./common/ibmdita.css" />
  31. <link rel="stylesheet" type="text/css" href="./common/idsvhlp.css" />
  32. <link rel="Start" href="ug_ldk_c_localizethetext.html#LocalizetheText" />
  33. <title>Customizing the Text</title>
  34. <script language="javascript"><!--
  35. function openTopic( openTopicLoc, tour ) { var helpWin = ''; var tempHelpWindowName = ''; var helpWindowName = ''; var winWidth = 680; var winHeight = 500; var charPos = openTopicLoc.indexOf("?", 0); if(tour == "tour") { winWidth = 800; winHeight = 600; } if( charPos > 0 ) tempHelpWindowName = openTopicLoc.substring(0, charPos ) || ''; else tempHelpWindowName = openTopicLoc || ''; if( tempHelpWindowName ) { helpWindowName = tempHelpWindowName.replace(/#/ig, "_"); helpWindowName = helpWindowName.replace(/\./g, "_"); helpWindowName = helpWindowName.replace(/\//g, "_"); } if( helpWindowName ) { helpWin=window.open( openTopicLoc, helpWindowName, "toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width="+winWidth+",height="+winHeight, true); helpWin.focus(); } }
  36. function doNav() {parent.header.previousNavPage = "ug_ldk_c_localizethetext.html#c_localizethetext";parent.header.nextNavPage = "ug_ldk_t_validatethelocalizedfiles.html#t_validatethelocalizedfiles"; parent.header.updateNav();
  37. if(parent.tabcontent) {document.getElementById("collapsableVbar").className="bux-collapsableContentPane-resize-vbar-right-invisible-false"; document.getElementById("collapsableVbarButton").className="bux-collapsableContentPane-border-openClose-button-left"; document.getElementById("collapsableVbarButton").title="Hide the navigation pane"; }
  38. else {document.getElementById("collapsableVbar").className="bux-collapsableContentPane-resize-vbar-left-invisible-false"; document.getElementById("collapsableVbarButton").className="bux-collapsableContentPane-border-openClose-button-right"; document.getElementById("collapsableVbarButton").title="Show the navigation pane"; } }
  39. function dC() { if(parent.tabcontent){ parent.tab.fHlp('ug_ldk.html'); } else {parent.tab.fHlp('ug_ldk_a.html'); } }
  40. --></script><!--[if IE 6]><style type="text/css">.contentDIV {width:100%;overflow:auto;} .bux-collapsableContentPane-resize-vbar-left-invisible-false {visibility:visible;position:absolute;} .bux-collapsableContentPane-resize-vbar-right-invisible-false {visibility:visible;position:absolute;}</style><![endif]-->
  41. <!--[if gte IE 7]><style type="text/css">.contentDIV {overflow:visible;}</style><![endif]-->
  42. </head>
  43. <body onLoad="doNav();highlight();jumpHL();">
  44. <!--ZOOMSTOP-->
  45. <noscript>To use IBM Cognos product documentation, you must enable JavaScript in your browser.</noscript>
  46. <noscript>Internet Explorer Users: If the Information Bar displays a message informing you that active content has been restricted, click the Information Bar for an option to allow blocked content for the current help session. For more information on changing security settings, search Internet Explorer help for <q>active content advanced options</q>. All other browsers: Please make sure JavaScript is enabled.</noscript>
  47. <!--ZOOMRESTART-->
  48. <div class="bux-collapsableContentPane-resize-vbar-right-invisible-false" id="collapsableVbar" role="region" aria-label="navigation bar container"><div tabindex="0" class="bux-collapsableContentPane-border-openClose-button-left" id="collapsableVbarButton" role="region" aria-label="collapse and expand navigation bar"><a href="JavaScript:dC();"><img style="text-decoration: none" src="common/spacer.gif" height="1px" width="1px" border="0" alt="Open and Close navigation pane" /></a></div></div><div class="contentDIV" role="main">
  49. <a name="t_id_localizethetext_202localizethetext"></a><a name="id_localizethetext_202localizethetext"></a><h1 class="title topictitle1">Customizing the Text</h1>
  50. <div class="body taskbody"><div class="abstract"> <span class="shortdesc">Use the following procedure to customize the
  51. text.</span>
  52. </div>
  53. <div class="tasklabel"><h2 class="sectiontitle tasklabel">Procedure</h2></div><ol class="ol steps"><li class="li step stepexpand"><span class="ph cmd">In an XML editor, open a file in the synchronization directory.</span> <p class="p">You can determine if a file contains a new or changed string
  54. by viewing the log file created in the location that you specified
  55. for the <var class="keyword varname">Log_File</var> variable during configuration <a class="xref" href="ug_ldk_c_configurelocalizationkit.html#ConfigureLocalizationKit" title="You must configure IBM Cognos User Interface and Error String Customization Toolkit before you start using it.">Configure Cognos UI and Error String Customization Toolkit</a>.</p>
  56. </li>
  57. <li class="li step stepexpand"><span class="ph cmd">Customize the strings that are identified by the translate
  58. attributes as new or changed.</span> <p class="p">We recommend that you
  59. manually delete the <a class="xref" href="ug_ldk_c_translateattribute.html#translateAttribute" title="An attribute that identifies strings that must be translated or otherwise modified.">translate
  60. attributes</a> after you modify each string. </p>
  61. <div class="note important"><span class="importanttitle">Important:</span> Do not modify any text other than the strings.</div>
  62. </li>
  63. <li class="li step stepexpand"><span class="ph cmd">Ensure that all strings in the file are customized.</span> <div class="note tip"><span class="tiptitle">Tip:</span> Search for <samp class="ph codeph">new</samp> and <samp class="ph codeph">changed</samp>.</div>
  64. </li>
  65. <li class="li step stepexpand"><span class="ph cmd">Save the file.</span></li>
  66. <li class="li step stepexpand"><span class="ph cmd">Repeat steps 1 to 4 for each file in the synchronization
  67. directory that has new or changed strings. </span></li>
  68. <li class="li step stepexpand"><span class="ph cmd">If you did not already delete the translate attributes
  69. manually, you can delete the translate attributes globally if either
  70. of the following is true</span> <ul class="ul"><li class="li">You are certain that all your strings are customized. If you delete
  71. all your translate attributes before you finish customizing all the
  72. strings, you may have problems finding the strings that were not customized.</li>
  73. <li class="li">You want to customize only specific strings and do not want to
  74. customize the remaining strings marked with the translate attribute.
  75. If you customize the product, you may want to modify only some strings.
  76. You find and modify the strings, review your changes, and then delete
  77. all the translate attributes globally. </li>
  78. </ul>
  79. <ul class="ul choices"><li class="li choice"><p class="p">For Windows operating
  80. systems do the following:</p>
  81. <ol class="ol" type="a"><li class="li">From the <span class="ph uicontrol">Start</span> menu, click <span class="ph uicontrol">Programs</span>, <span class="ph uicontrol">IBM
  82. Cognos 10</span>, <span class="ph uicontrol">Administration</span>, <span class="ph uicontrol">Advanced</span>.</li>
  83. <li class="li">Click <span class="ph uicontrol">Clean Message Files</span>.<p class="p">The <span class="ph filepath">customize_clean.bat</span> file
  84. located in the IBM Cognos User Interface and Error String Customization
  85. Toolkit installation directory <span class="ph filepath"><var class="keyword varname">installation_location</var>\bin</span> runs.</p>
  86. </li>
  87. </ol>
  88. </li>
  89. <li class="li choice"><p class="p">For UNIX or Linux operating systems, do the
  90. following:</p>
  91. <ol class="ol" type="a"><li class="li">Open a command line and go to the location where Cognos UI and Error String Customization Toolkit
  92. is installed.</li>
  93. <li class="li">Type <kbd class="ph userinput">//<var class="keyword varname">installation_location</var>/bin&gt;localize.sh
  94. clean</kbd> </li>
  95. </ol>
  96. </li>
  97. </ul>
  98. The processing may take a few minutes. After it is finished,
  99. you can <a class="xref" href="ug_ldk_t_validatethelocalizedfiles.html#ValidatetheLocalizedFiles" title="Before you generate the target resource files, it is important to validate the customized files in the synchronization directory.">validate the customized files</a>. </li>
  100. </ol>
  101. </div>
  102. <div class="related-links">
  103. <div class="familylinks">
  104. <div class="parentlink"><strong>Parent topic:</strong> <a class="link" href="ug_ldk_c_localizethetext.html#LocalizetheText" title="Customize the messages and user interface text in the files that are located in the synchronization directory.">Customize the Text</a></div>
  105. </div>
  106. </div>
  107. <style type="text/css">.highlight { background: #DEEEFF; }</style><script src="common/highlight.js"></script><script><!-- highlight(); //--></script>
  108. </div>
  109. </body>
  110. </html>