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 will affect all users of the server. It is more appropriate for pre-production and testing servers.


To display the stringids in the user interface:

  1. Open <install directory>\Web Server\KCenter\web.config.
     
  2. Add <add key="DisplayLocaleID's" value ="true"/> to the <appSettings> section.
     
  3. Save the changes to web.config.
     
  4. Restart the web services.

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>
     <graphics>
     </graphics>
</language>


You may also see elements in the eu<langid>.lng file for <location>. The <location> element and what it contains do not need to be added to the customization file.

 

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

  1. Open <install directory>\Web Server\KCenter\web.config.
     
  2. Update the "true" to "false" on the <add key="DisplayLocaleID's" value ="true"/> line in the <appSettings> section.
     
  3. Save the changes to web.config.
     
  4. Restart the web services.

Table of Contents