1 locale.module locale_form_language_admin_edit_form_alter_submit($form, $form_state)

Submission handler to record our custom setting.

File

core/modules/locale/locale.module, line 1019
Add language handling functionality and enables the translation of the user interface to languages other than English.

Code

function locale_form_language_admin_edit_form_alter_submit($form, $form_state) {
  config_set('locale.settings', 'translate_english', $form_state['values']['locale_translate_english']);
}