src/sap.ui.core/src/sap/ui/core/hyphenation/Hyphenation.js
function getLanguageDisplayName(sPatternName) {
		var sLang = getLanguageFromPattern(sPatternName);

		if (mLanguageNamesInEnglish.hasOwnProperty(sLang)) {
			return "'" + mLanguageNamesInEnglish[sLang] + "' (code:'" + sLang + "')";
		} else {
			return "'" + sLang + "'";
		}
	}
function getLanguageDisplayName(sPatternName) {
		var sLang = getLanguageFromPattern(sPatternName);

		if (mLanguageNamesInEnglish.hasOwnProperty(sLang)) {
			return "'" + mLanguageNamesInEnglish[sLang] + "' (code:'" + sLang + "')";
		} else {
			return "'" + sLang + "'";
		}
	}
function getLanguageDisplayName ( sPatternName ) { var sLang = getLanguageFromPattern ( sPatternName ) ; if ( mLanguageNamesInEnglish . hasOwnProperty ( sLang ) ) { return "'" + mLanguageNamesInEnglish [ sLang ] + "' (code:'" + sLang + "')" ; } else { return "'" + sLang + "'" ; } }
Gets a human readable english name for the language.
If not found - returns a string with the language code.

@param {string} sPatternName The pattern name (hpb file name)
@return {string} Returns a human readable english name for the language
Gets a human readable english name for the language . If not found - returns a string with the language code .