function locale_translate_english

Checks whether locale translates to English.

Return value

bool Returns TRUE if content should be translated to English, FALSE otherwise.

6 calls to locale_translate_english()
locale_form_language_admin_edit_form_alter in drupal/core/modules/locale/locale.module
Implements hook_form_FORM_ID_alter() for language_admin_edit_form().
locale_form_language_admin_overview_form_alter in drupal/core/modules/locale/locale.module
Implements hook_form_FORM_ID_alter() for language_admin_overview_form().
locale_translatable_language_list in drupal/core/modules/locale/locale.module
Returns list of translatable languages.
locale_translate_export_form in drupal/core/modules/locale/locale.bulk.inc
Form constructor for the Gettext translation files export form.
locale_translate_filters in drupal/core/modules/locale/locale.pages.inc
List locale translation filters that can be applied.

... See full list

2 string references to 'locale_translate_english'
locale_form_language_admin_edit_form_alter_submit in drupal/core/modules/locale/locale.module
Form submission handler for language_admin_edit_form().
t in drupal/core/includes/bootstrap.inc
Translates a string to the current language or to a given language.

File

drupal/core/modules/locale/locale.module, line 686
Enables the translation of the user interface to languages other than English.

Code

function locale_translate_english() {
  return variable_get('locale_translate_english', FALSE);
}