Customization overview

This section provides information and procedures for customizing the .NET client. Modify the Strings.xml file to customize the .NET client.

NoteTypically, modifications to the Strings.xml file are performed by each user on the mobile device. Alternatively, you can copy the Strings.xml file to a PC and use a UTF-8-capable text editor to edit the strings. Then, copy the Strings.xml file back to the PDA, and restart the .NET client to see the changes on the mobile device.

You may need to develop procedures for deploying updated Strings.xml files to mobile device users. You may want to consider using a remote device management tool, such as Afaria, to place new images and files on PDAs.


Customizing language

To customize language for the .NET client:

When you restart the application, the.NET client:

  1. Checks the device’s regional settings for the current language code and country code. For example, a PDA set to “Dutch (Belgium)” would be “nl-BE.”

  2. Checks for the string localization file that matches the language and country code; in this case, Strings.nl-BE.xml for Dutch Belgium.

    If the file does not exist, the client looks for an alternative file that contains the language code, but no country code (for example, Strings.nl.xml, a generic Dutch localization file).

    If that is not found, the client defaults to the Strings.xml file with default English strings.

StepsLocalizing the .NET client

This procedure assumes you have changed the regional setting, downloaded any necessary fonts or character sets, and moved localized graphics files to the mobile device.

  1. Navigate to the Strings.xml file.

  2. Make a copy of the Strings.xml file, and include the language and country code in the new file name. For example:

    Strings.nl-BE.xml for Dutch Belgium Strings.fr-CA.xml for French Canadian Strings.fr-FR.xml for French

  3. Modify the new file on your mobile device:

    See “Understanding the Strings.xml file” for information about working with the Strings.xml file (or the localized version of the file).

  4. Save the file and close it.

  5. You can also localize the template files, as described in “Understanding the device template files”. The template files include some language strings.

  6. Restart the application. The .NET client should detect the regional language and country codes, locate the localized Strings.xml file, and present the localized interface.

    NoteAny reference to the Strings.xml file extends to your localized version of the file, such as Strings.nl-BE.xml.


Customizing messages

The Strings.xml file includes a section of messages that can be localized to a different language, or that can be customized to use terms and phrasing more meaningful for a business setting, or for an individual user. See “Messages in Strings.xml” for message text.


Customizing graphics

The Strings.xml file includes a section of graphics. You can obtain or create localized graphics, and replace the defaults included with the .NET client. After the .NET client is installed, replace the images on the device with new images, and update the graphic file names in Strings.xml. See “Images in Strings.xml” for graphics file names.


Customizing the user interface

The Strings.xml file includes sections for changing Unwired Accelerator strings and icons that appear on the mobile device user interface.