Internationalization and localization tools


Locale-Sensitive Java Method

java.awt.GraphicsEnvironment

public abstract String[] getAvailableFontFamilyNames()

public abstract String[] getAvailableFontFamilyNames(Locale l)

Internationalization (I18n) Method Overview

Returns an array containing the (localized) names of all font families available in this GraphicsEnvironment. Typical usage would be to allow a user to select a particular family name and allow the application to choose related variants of the same family when the user specifies style attributes such as Bold or Italic.

For more information click here.

I18n Issues

Call the method that takes Locale as a parameter and make sure the Locale passed in is correct.

Locale-Sensitive Java Methods

 

Lingoport internationalization and localization services and software