Every text block in the user interface can be customized. This allows you to customize the messages that appear to the user on pages, error dialogs, and so on. 


The first step in changing the text is to identify the block of text that you wish to customize and determine its stringid. There are two different methods for doing this. One method is to copy the text from the Knowledge Center user interface and search the eu<langid>.lng file for the appropriate item. You can then place the appropriate entry in your customization file (.cus). Knowledge Center also provides a special mode that allows you to view the stringids as you are running the user interface. Please note however, that this mode is applied at a server wide level and affects all users of the server. It is more appropriate for pre-production and testing servers.


ProcedureTo display the stringids in the user interface:

  1. Open <install directory>\Web Server\KCenter\web.config.
     
  2. In the <appSettings> section add the following value: <add key="DisplayLocaleIDs" value ="true"/>.
     
  3. Save the changes to web.config.
     
  4. Open Knowledge Center, if necessary, and refresh the view.

After IDs are enabled, the user interface displays all stringid values at the beginning of each text block.

 

After identifying the stringid that you want to customize, add the appropriate XML to your eu<langid>.cus file. All text customizations should be added to the <strings> section of the file. An example is shown below: 


<?xml version="1.0"?>
<language langcode="en" name="English">
     <strings>
         <item stringid="10">
             <text>Create a user</text>
         </item>
     </strings>
     <resources>
     </resources>
</language>


You may also see elements in the eu<langid>.lng file for <location>. The <location> element and what it contains does not need to be added to the customization file as it may cause issues when the software is updated to a new version.

 

ProcedureTo turn off the stringids in the user interface after customization:

  1. Open <install directory>\Web Server\KCenter\web.config.
     
  2. In the <appSettings> section change the "true" value to "false" on the <add key="DisplayLocaleIDs" value ="true"/> line.
     
  3. Save the changes to web.config.
     
  4. Open Knowledge Center, if necessary, and refresh the view.

Table of Contents  Back

Customize_Text