To customize language for the .NET client:
Obtain the proper language files and related font files, and download the files to your mobile device.
Obtain or create localized user interface graphics, logos, and icons, using the sizes recommended for your device. Download the files to your mobile device.
Modify the Strings.xml file on your mobile device:
Specify the appropriate language-related resource values, such as language, font, and text orientation.
Translate message strings to the language, such as error and validation messages.
Translate user interface strings to the language, especially user profile fields and prompts.
Update the user interface graphics, logos, and icons file names.
See “Understanding the Strings.xml file” for information before you start.
When you restart the application, the.NET client:
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.”
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.
Localizing 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.
Navigate to the Strings.xml file.
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
Modify the new file on your mobile device:
Specify the appropriate language-related resource values, such as language, font, and text orientation. See Table B-2 for information about the resource values.
Translate message strings to the language, such as error and validation messages. See “Messages in Strings.xml” for default messages.
Translate user interface strings to the language, especially user profile fields and prompts. See “Strings in Strings.xml” for default strings.
Update the user interface graphics, logos, and icons file names. See “Images in Strings.xml” for information about graphics.
See “Understanding the Strings.xml file” for information about working with the Strings.xml file (or the localized version of the file).
Save the file and close it.
You can also localize the template files, as described in “Understanding the device template files”. The template files include some language strings.
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.
Any reference to the Strings.xml file
extends to your localized version of the file, such as Strings.nl-BE.xml.