It would be nice if this was documented.
would also be good if select2, define the language files as lower case, and get html lang attribute and convert the value contained in to lowercase