Selector now looks for the lang attr and selects it as the language when the language has an IM. The user will however be able to override it through the selector menu