Get Language

Determines the language code for the current locale.

Note:
This function block is located in the General\Utilities\Locale folder.

Inputs

Locale
A java.util.Locale object that represents the current locale.

Output

Returns a String object that contains the language code for the locale. This is either an empty string or a lowercase ISO 639 code.

Notes

This function block is based on the java.util.Locale.getLanguage() method.

Copyright IBM Corp. 2003, 2004