ug_ldk_c_configurelocalizationkit.html 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189
  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="concept" />
  17. <meta name="DC.Title" content="Configure Cognos UI and Error String Customization Toolkit" />
  18. <meta name="abstract" content="You must configure IBM Cognos User Interface and Error String Customization Toolkit before you start using it." />
  19. <meta name="Description" content="You must configure IBM Cognos User Interface and Error String Customization Toolkit before you start using it." />
  20. <meta name="DC.subject" content="configuring, synchronization directory, source directory, reference directory, target directory, locales, variables, .properties, updating configuration in UNIX, source locale, target locale, package file, log files, VAR information, content locale, product locale, supported locales" />
  21. <meta name="keywords" content="configuring, synchronization directory, source directory, reference directory, target directory, locales, variables, .properties, updating configuration in UNIX, source locale, target locale, package file, log files, VAR information, content locale, product locale, supported locales" />
  22. <meta name="DC.Relation" scheme="URI" content="ug_ldk_t_id_configurelocalizationkit_148stepsforunixorlinux.html#id_ConfigureLocalizationKit_148StepsforUNIXorLinux" />
  23. <meta name="DC.Relation" scheme="URI" content="ug_ldk_t_id_configurelocalizationkit_168stepsforwindows.html#id_ConfigureLocalizationKit_168StepsforWindows" />
  24. <meta name="DC.Date" scheme="iso8601" content="2014-08-19" />
  25. <meta name="DC.Format" content="XHTML" />
  26. <meta name="DC.Identifier" content="ConfigureLocalizationKit" />
  27. <meta name="DC.Language" content="en-us" />
  28. <meta name="IBM.Country" content="ZZ" />
  29. <!-- Licensed Materials - Property of IBM -->
  30. <!-- US Government Users Restricted Rights -->
  31. <!-- Use, duplication or disclosure restricted by -->
  32. <!-- GSA ADP Schedule Contract with IBM Corp. -->
  33. <link rel="stylesheet" type="text/css" href="./common/ibmdita.css" />
  34. <link rel="stylesheet" type="text/css" href="./common/idsvhlp.css" />
  35. <title>Configure Cognos UI and Error String Customization Toolkit</title>
  36. <script language="javascript"><!--
  37. 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(); } }
  38. function doNav() {parent.header.previousNavPage = "ug_ldk_c_localizationkit.html#c_localizationkit";parent.header.nextNavPage = "ug_ldk_t_id_configurelocalizationkit_148stepsforunixorlinux.html#t_id_configurelocalizationkit_148stepsforunixorlinux"; parent.header.updateNav();
  39. 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"; }
  40. 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"; } }
  41. function dC() { if(parent.tabcontent){ parent.tab.fHlp('ug_ldk.html'); } else {parent.tab.fHlp('ug_ldk_a.html'); } }
  42. --></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]-->
  43. <!--[if gte IE 7]><style type="text/css">.contentDIV {overflow:visible;}</style><![endif]-->
  44. </head>
  45. <body onLoad="doNav();highlight();jumpHL();">
  46. <!--ZOOMSTOP-->
  47. <noscript>To use IBM Cognos product documentation, you must enable JavaScript in your browser.</noscript>
  48. <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>
  49. <!--ZOOMRESTART-->
  50. <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">
  51. <a name="c_configurelocalizationkit"></a><a name="configurelocalizationkit"></a><h1 class="title topictitle1">Configure Cognos UI
  52. and Error String Customization Toolkit</h1>
  53. <div class="body conbody"><div class="abstract"> <span class="shortdesc">You must configure IBM® Cognos® User Interface and Error
  54. String Customization Toolkit before you start using it. </span>
  55. </div>
  56. <p class="p">Configuration involves specifying directories where the XML resource
  57. files can be obtained, processed, and placed after they are customized.
  58. It also involves specifying locale codes that define the source and
  59. target languages.</p>
  60. <p class="p">When you specify locale variables, such as Source_Locale and Target_Locale_List,
  61. ensure that the locale string always contains a valid ISO language
  62. code. It can also contain an optional ISO country code. The ISO language
  63. code is a lowercase, two-letter code defined by ISO-639. The ISO country
  64. code is a lowercase, two-letter code defined by ISO-3166. For example,
  65. ja (Japanese), it (Italian), ru (Russian), zh-cn (Simplified Chinese
  66. - China), and zh-tw (Traditional Chinese - Taiwan).</p>
  67. <p class="p">You specify the configuration variables in the LocalizationConfig.properties
  68. file located in the product installation directory named <span class="ph filepath"><var class="keyword varname">installation_location</var>\bin</span>. </p>
  69. <p class="p">You can customize either product locale files, content locale files,
  70. or both, by using the Localization_Filter variable. IBM Cognos Business
  71. Intelligence uses the product locale files to provide Web-based user
  72. interfaces, such as Event Studio, Report Studio, Analysis Studio,
  73. and Query Studio. Product locale files are already translated for
  74. all the product locales supported. You can translate the product
  75. locale files for a data locale supported but not translated by the IBM Cognos software,
  76. to allow users to use the studios in their locale.</p>
  77. <p class="p"> Cognos BI uses the content
  78. locale to display data in reports and to provide the user interfaces
  79. associated with report consumption, such as IBM Cognos Connection
  80. and Report Viewer. Translated content locale files for most of the
  81. data locales supported are provided. You can translate the content
  82. locale files for a data locale that is supported but not translated
  83. by the IBM Cognos software, to allow users to view and
  84. run reports in their locale.</p>
  85. <p class="p">We recommend that you use the locales supported by your IBM Cognos product.
  86. Although you can use other locales, we cannot guarantee that the product
  87. will work properly with those locales. </p>
  88. <p class="p">To review an up-to-date list of data locales supported by IBM Cognos products
  89. and a list of product and content translations, visit the <a class="xref" href="http://www.ibm.com/software/data/cognos/customercenter" target="_blank" title="(Opens in a new tab or window)">IBM Cognos Customer Center</a> (http://www.ibm.com/software/data/cognos/customercenter).</p>
  90. <p class="p">You enter values for the following variables. You must use a forward
  91. slash / when entering a directory location. </p>
  92. <dl class="dl"><dt class="dt dlterm">Source_Directory</dt>
  93. <dd class="dd">Location of the directory in your workspace that will contain
  94. copies of the original resource files, such as <span class="ph filepath">C:/Translation/Src</span>.</dd>
  95. <dt class="dt dlterm">Source_Locale</dt>
  96. <dd class="dd">Language code of the original resource files from which the text
  97. is customized.</dd>
  98. <dt class="dt dlterm">Synchronization_Directory</dt>
  99. <dd class="dd">Location of the directory in your workspace that will contain
  100. the resource files that you customize, such as <span class="ph filepath">C:/Translation/Sync</span>.</dd>
  101. <dt class="dt dlterm">Reference_Directory</dt>
  102. <dd class="dd"><p class="p">Location of the directory in your workspace that will contain
  103. unchanged copies of the original resource files used in a given customization
  104. project. In a subsequent customization project, these files are used
  105. to determine which text was added, deleted, or updated.</p>
  106. <p class="p">You
  107. can create this directory as a subdirectory of the synchronization
  108. directory, such as <span class="ph filepath">C:/Translation/Sync/Ref</span>.</p>
  109. </dd>
  110. <dt class="dt dlterm">Target_Directory</dt>
  111. <dd class="dd">Location of the directory in your workspace that will contain
  112. the target resource files, such as <span class="ph filepath">C:/Translation/Target</span>.</dd>
  113. <dt class="dt dlterm">Target_Locale_List</dt>
  114. <dd class="dd">One or more language codes, separated by a comma, into which the
  115. text will be translated, such as ru or pl.</dd>
  116. <dt class="dt dlterm">ackage_File</dt>
  117. <dd class="dd">Name and location of the compressed file (.zip) that will contain
  118. the packaged target resource files, such as <span class="ph filepath">C:/Translation/LocalizationOut.zip</span>.</dd>
  119. <dt class="dt dlterm">Log_File</dt>
  120. <dd class="dd"><p class="p">Name and location of the log file that will contain processing
  121. information, such as <span class="ph filepath">C:/Translation/Localization.log</span>.</p>
  122. <p class="p">Default:
  123. No log file</p>
  124. </dd>
  125. <dt class="dt dlterm">Component_Name_List </dt>
  126. <dd class="dd"><p class="p">Names of the product components, separated by a comma, that
  127. represent the component element in the input resource files for which
  128. the messages are customized.</p>
  129. <p class="p">Default: All</p>
  130. </dd>
  131. <dt class="dt dlterm">VAR_Information</dt>
  132. <dd class="dd">Text that VARs can embed in the customized files, such as <var class="keyword varname">Generated
  133. by company X</var>. The default text is <var class="keyword varname">Generated by
  134. the IBM Cognos software</var>.</dd>
  135. <dt class="dt dlterm">Localization_Filter</dt>
  136. <dd class="dd"><p class="p">Specifies whether to process files tagged for product locale,
  137. content locale, or both.</p>
  138. <p class="p">Possible values are:</p>
  139. <ul class="ul"><li class="li">Product Locale<p class="p">This is the Default. Only files tagged with the
  140. customization attribute <span class="ph uicontrol">Product Locale</span> or without
  141. a customization attribute will be processed.</p>
  142. </li>
  143. <li class="li">Content Locale<p class="p">Only files tagged with the customization attribute <span class="ph uicontrol">Content
  144. Locale</span> will be processed. </p>
  145. </li>
  146. <li class="li">none<p class="p">All message files regardless of the customization attribute
  147. will be processed.</p>
  148. </li>
  149. </ul>
  150. </dd>
  151. <dt class="dt dlterm">Allow_Untranslated_Strings</dt>
  152. <dd class="dd"><p class="p">Allows you to generate the target resource files while there
  153. are still some strings that are not translated. The translate attributes,
  154. which identify the strings to translate, remain in the file so that
  155. you can translate them later. This is useful for testing purposes.</p>
  156. <p class="p">Possible
  157. values are Yes or No. The default value is No.</p>
  158. </dd>
  159. </dl>
  160. <p class="p">You must have write permissions for the following directories and
  161. files:</p>
  162. <ul class="ul"><li class="li"><span class="ph filepath"><var class="keyword varname">Synchronization_Directory</var></span></li>
  163. <li class="li"><span class="ph filepath"><var class="keyword varname">Reference_Directory</var></span></li>
  164. <li class="li"><span class="ph filepath"><var class="keyword varname">Target_Directory</var></span></li>
  165. <li class="li"><span class="ph filepath"><var class="keyword varname">Package_File</var></span></li>
  166. <li class="li"><span class="ph filepath"><var class="keyword varname">Log_File</var></span></li>
  167. </ul>
  168. <p class="p">On a UNIX computer, ensure
  169. that you have an environment variable named JAVA_HOME that points
  170. to the location of your Java<sup class="ph sup">TM</sup> Runtime Environment. An
  171. example of the installation location of a Java Runtime Environment
  172. is <em class="ph i">java_directory/java/java_version/</em>jre.</p>
  173. </div>
  174. <div class="related-links">
  175. <ul class="ullinks">
  176. <li class="link ulchildlink"><span class="ulchildlinktext"><a href="ug_ldk_t_id_configurelocalizationkit_148stepsforunixorlinux.html#id_ConfigureLocalizationKit_148StepsforUNIXorLinux">Configuring the localization configuration properties file for UNIX or Linux operating systems</a></span><br />
  177. Follow this procedure to configure the IBM Cognos User
  178. Interface and Error String Customization Toolkit for UNIX or Linux operating
  179. systems.</li>
  180. <li class="link ulchildlink"><span class="ulchildlinktext"><a href="ug_ldk_t_id_configurelocalizationkit_168stepsforwindows.html#id_ConfigureLocalizationKit_168StepsforWindows">Configuring the localization configuration properties file for Windows operating systems</a></span><br />
  181. Follow this procedure to configure the IBM Cognos User
  182. Interface and Error String Customization Toolkit for Windows operating systems.</li>
  183. </ul>
  184. </div>
  185. <style type="text/css">.highlight { background: #DEEEFF; }</style><script src="common/highlight.js"></script><script><!-- highlight(); //--></script>
  186. </div>
  187. </body>
  188. </html>