Internationalization and localization tools


Locale-Sensitive Java Methods

The Java programming language was designed from the ground up to be cross-platform and to support fully internationalized application development. It fully supports Unicode and defines all String types as UTF-16. Further, Java has a number of native classes that facilitate international application development. Java has extremely robust locale-sensitive support, incorporating such functionality into standard classes and methods. Please see the Java Internationalization Trail for more information about Java's I18n capabilities .

Potentially Locale-Sensitive I18n Methods

The following list of functions are considered potentially locale-sensitive in the context of internationalized software development. In most cases, the method is potentially locale-sensitive because a signature exists that does not include the Java Locale object. These methods will use a default locale when unspecified. For true internationalization, these methods should be updated to be locale-specific to the user.

Click on a function for more information:

AbstractButton.setMnemonic()

BreakIterator.getCharacterInstance()

BreakIterator.getLineInstance()

BreakIterator.getSentenceInstance()

BreakIterator.getWordInstance()

Calendar()

Calendar.getInstance()

Charset()

Charset.decode()

Charset.encode()

Collator.getInstance()

Currency.GetSymbol()

Currency.getDisplayName()

DataInputStream()

DataOutputStream.writeBytes()

DateFormat.getDateInstance()

DateFormat.getDateTimeInstance()

DateFormat.getInstance()

DateFormat.getTimeInstance()

DateFormatSymbols()

DateTimeFormatter.ofLocalizedDate()

DateTimeFormatter.ofLocalizedDateTime()

DateTimeFormatter.ofLocalizedTime()

DateTimeFormatter.ofPattern()

DecimalFormat()

Double()

Double.parseDouble()

Float()

Float.parseFloat()

Font()

Font.getFamily()

Font.getFontName()

getAvailableFontFamilyNames()

GregorianCalendar()

InputStreamReader()

LocalDate.format()

LocalDate.parse()

LocalDateTime.format()

LocalDateTime.parse()

Locale()

Locale.getDefault()

Locale.getDisplayName()

LocalTime.format()

LocalTime.parse()

MonthDay.format()

MonthDay.parse()

NumberFormat.getCurrencyInstance()

NumberFormat.getInstance()

NumberFormat.getIntegerInstance()

NumberFormat.getNumberInstance()

NumberFormat.getPercentInstance()

OffsetDateTime.format()

OffsetDateTime.parse()

OffsetTime.format()

OffsetTime.parse()

OutputStreamWriter()

Runtime.getLocalizedInputStream()

Runtime.getLocalizedOutputStream()

setCharacterEncoding()

setContentType()

setLocale()

SimpleDateFormat()

StreamTokenizer()

String()

String.compareTo()

String.compareToIgnoreCase()

String.concat()

String.equalsIgnoreCase()

String.format()

String.getBytes()

String.toLowerCase()

String.toUpperCase()

StringBuffer.append()

StringBuffer.insert()

StringBuilder.append()

StringBuilder.insert()

TimeZone.getDefault()

TimeZone.getDisplayName()

TimeZone.getTimeZone()

toString()

URLDecoder.decode()

URLEncoder.encode()

YearMonth.format()

YearMonth.parse()

ZonedDateTime.format()

ZonedDateTime.parse()

ZoneId.getDisplayName()

 

 Locale-Sensitive Methods Table of Contents

 

Lingoport internationalization and localization services and software