Use a variable to store the language ID so that we don't have to call the same functions multiple times when checking it.