How do I skip language selection with installation profile?
This cannot work, because $install_state is passed as value, not as reference. So changing it has no effects.

function efocus_install_tasks_alter(&amp;$tasks, $install_state){
    $tasks['install_select_locale']['function'] = '_efocus_locale_selection';
}

// local callback function
function _efocus_locale_selection(&amp;$install_state){
    $install_state['parameters']['locale'] = 'en';
}


This one works. I am simply replacing the standard_locale_selection with a custom function, which gets the install_state passed as reference. So i can change the value...