fromLanguageToTwoLetters

Deprecated

Default language code changed to IETF BCP 47 tag

Replace with

fromLanguageToTagIETF(input, looseCheck)

Language name (english or native) -> ISO_639_1

Parameters

input

language name

looseCheck

match with contains() instead of equals()