How to change the text within the web client

Nearly all the text (strings) displayed in the web client can be changed and/or localized.  A special file (strings.xml) can override the strings and even notifications sent from WebDir.  When WebDir sees this file for the language that is currently displayed, it will look first inside the file for any strings defined.  If it finds a match and the string is not empty, it will use the text in the file instead of the text within the library.

All the text within the web client begins with "WEB_" followed by the text with underscores replacing spaces

Sample Data:

<?xml version="1.0" encoding="utf-8"?>
<strings>
 <data name="WEB_General" xml:space="preserve">
     <value>General</value>
 </data>
 <data name="WEB_Welcome" xml:space="preserve">
     <value>Welcome</value>
 </data>
 <data name="WEB_Manage_my_groups" xml:space="preserve">
     <value>Manage my groups &gt;&gt;</value>
 </data>
 <data name="WEB_Phone_Slash_Notes" xml:space="preserve">
    <value>Phone / Notes</value>
</data>
</strings>

How to change a users properties tab within the web client:

The task below assumes that you are using the Active Directory Only virtual server mode in WebDir.  The designadonly.xml file contains all the values needed in order to make changes or additions to the Strings.xml file.  

1. Open Notepad or you favorite XML editor.

2. Copy and paste the sample data into the file.

3. To add a new line, you will need to make a copy of one of "data name and value" lines.  Then paste it into a new line below the line that was copied.  

4. Open the designadonly.xml file using your favorite text or XML editor.  The file is located at c:\program files\imanami\webdir4\inetpub\<virtual server name>\

5.  Locate the line below within the design.xml file (designadonly.xml if you are connected to an Active Directory forest without Exchange).  Copy the value for name="WEB_Phone_Slash_Notes" without quotes.

<category id="A39E0EBEB7394E2E9AECA7AE95F1CF5F" name="WEB_Phone_Slash_Notes" access="299" visibility="9999" objecttype="user">

6. Go back to the strings.xml file that you created and change the following line from:

<?xml version="1.0" encoding="utf-8"?>
<strings>
  <data name="WEB_General" xml:space="preserve">
      <value>General</value>
  </data>
  <data name="WEB_Welcome" xml:space="preserve">
      <value>Welcome</value>
  </data>
  <data name="WEB_Manage_my_groups" xml:space="preserve">
      <value>Manage my groups &gt;&gt;</value>
  </data>
  <data name="WEB_Phone_Slash_Notes" xml:space="preserve">
     <value>Phone / Notes</value>
 </data>
</strings>

Change the last line to read:

<?xml version="1.0" encoding="utf-8"?>
<strings>
 <data name="WEB_General" xml:space="preserve">
     <value>General</value>
 </data>
 <data name="WEB_Welcome" xml:space="preserve">
     <value>Welcome</value>
 </data>
 <data name="WEB_Manage_my_groups" xml:space="preserve">
     <value>Manage my groups &gt;&gt;</value>
 </data>
 <data name="WEB_Phone_Slash_Notes" xml:space="preserve">
    <value>Phone</value>
</data>
</strings>

7. Save the file as .XML.

8. Go to c:\program files\imanami\webdir4\inetpub\<virtual server name>\web\bin

9. Create a new folder called: en-us.  Add the Strings.xml file to the new folder created in the BIN directory.

10. Log into WebDir to see the tab changed from "Phone / Notes" to "Phone" within My Properties.

Please note: You can use this method for localizing text within the web client, as well.  Just change the name of the folder created in the BIN directory.  Fore example: If you wanted to create a Spanish translation of strings; change or create a folder called, "es-es".  Then add the localized strings.xml file to the es-es directory.  Your browser settings would need to be set to Spanish, then log into WebDir to see the translated text.