resolve languages