drupal_set_message('The default language setting has been reset to its default value. Check the '.l('language configuration page','admin/settings/language').' to configure it correctly.');
}
elseif($type=='negotiation'){
// Either it is the negotiation setting or the content type setting, it
// is an integer. The language_negotiation setting is not reset, but
// the user is alerted that this setting possibly was overwritten
drupal_set_message('The language negotiation setting was possibly overwritten by a content type of the same name. Check the '.l('language configuration page','admin/settings/language/configure').' and the '.l('<em>'.$content_type->name."</em> content type's multilingual support settings",'admin/content/types/negotiation',array('html'=>TRUE)).' to configure them correctly.');
}
elseif(!is_null($setting)){
// Change the language setting variable for any other content type.
// Do not worry about language_count, it will be updated below.
'#description'=>t('Enable multilingual support for this content type. If enabled, a language selection field will be added to the editing form, allowing you to select from one of the <a href="!languages">enabled languages</a>. If disabled, new posts are saved with the default language. Existing content will not be affected by changing this option.',array('!languages'=>url('admin/settings/language'))),
);
...
...
@@ -272,7 +272,7 @@ function locale_form_alter(&$form, $form_state, $form_id) {
$form['workflow']['language']['#options'][TRANSLATION_ENABLED]=t('Enabled, with translation');
$form['workflow']['language_content_type']['#options'][TRANSLATION_ENABLED]=t('Enabled, with translation');
// Description based on text from locale.module.
$form['workflow']['language']['#description']=t('Enable multilingual support for this content type. If enabled, a language selection field will be added to the editing form, allowing you to select from one of the <a href="!languages">enabled languages</a>. You can also turn on translation for this content type, which lets you have content translated to any of the enabled languages. If disabled, new posts are saved with the default language. Existing content will not be affected by changing this option.',array('!languages'=>url('admin/settings/language')));
$form['workflow']['language_content_type']['#description']=t('Enable multilingual support for this content type. If enabled, a language selection field will be added to the editing form, allowing you to select from one of the <a href="!languages">enabled languages</a>. You can also turn on translation for this content type, which lets you have content translated to any of the enabled languages. If disabled, new posts are saved with the default language. Existing content will not be affected by changing this option.',array('!languages'=>url('admin/settings/language')));