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.