Internationalization and localization tools


Locale-Sensitive Java Method

java.util.Locale

public String getDisplayName()

public String getDisplayName(Locale inLocale)

Internationalization (I18n) Method Overview

getDisplayName returns a name for the locale that is appropriate for display to the user for the default (or specified) locale.

For more information on getDisplayName, click here.

I18n Issues

Because the system's locale may not be the correct locale for all users, it is good I18n practice to use the factory method that accepts a Locale argument and to further pass in a Locale object that has been dynamically generated based upon the user's preferences.

Locale-Sensitive Java Methods

 

 

Lingoport internationalization and localization services and software