fromLanguageToTwoLetters
Deprecated
Default language code changed to IETF BCP 47 tag
Replace with
fromLanguageToTagIETF(input, looseCheck)Content copied to clipboard
Language name (english or native) -> ISO_639_1
Parameters
input
language name
looseCheck
match with contains() instead of equals()