Creating a New Locale

Create a new locale with resource keys and values extracted from localizable strings in the current device application file.

  1. In the Localization page, click New.
  2. In the New Locale wizard, select:
    Option Description
    Language Select the language from the drop-down list.
    Country Select the country from the drop-down list.
    Variant Enter the variant. The variant is the vendor or browser-specific code, for example, enter "WIN" for Windows, "MAC" for Macintosh and "POSIX" for POSIX. Where there are two variants, separate them with an underscore, and put the most important one first. For example, a Traditional Spanish collation might construct a locale with parameters for language, country, and variant as: "es", "ES", "Traditional_WIN".
    Overwrite Existing file If the location already exists, select to overwrite the existing localization file.
    Automatically Create Default Locale Select to automatically create the default locale properties file. For example, if you specify the language as "English" and the country as the "United States" for a device application called test.bob, then both test_en_uS.properties and test.properties files are created.
    Note: BlackBerry devices require a default locale.
  3. Click Finish. The properties file is created and is shown in the same directory as the device application file.


Created September 17, 2009. Send feedback on this help topic to Sybase Technical Publications: pubs@sybase.com