View the available locales

Many of the methods in the BlackBerry® Administration API require a locale parameter to identify the region and language for the data that your application sends or receives. You can use the findLocales() method to view all the locales that are available on your BlackBerry® Enterprise Server.
  1. Invoke findLocales().
    findLocales request = new findLocales();
    String[] locales = utilWebService.findLocales(request);
  2. Print the available locales.
    for (int i =0; i < locales.Length; i++)
    {
        System.Console.WriteLine(locales[i])
    }
Previous topic: Opening a connection

Was this information helpful? Send us your comments.