constant LANGUAGE_SYSTEM

Special system language code (only applicable to UI language).

Refers to the language used in Drupal and module/theme source code. Drupal uses the built-in text for English by default, but if configured to allow translation/customization of English, we need to differentiate between the built-in language and the English translation.

4 uses of LANGUAGE_SYSTEM
LocaleTranslationTest::testStringTranslation in drupal/core/modules/locale/lib/Drupal/locale/Tests/LocaleTranslationTest.php
Adds a language and tests string translation by users with the appropriate permissions.
locale_translate_export_form in drupal/core/modules/locale/locale.bulk.inc
Form constructor for the Gettext translation files export form.
locale_translate_export_form_submit in drupal/core/modules/locale/locale.bulk.inc
Form submission handler for locale_translate_export_form().
t in drupal/core/includes/bootstrap.inc
Translates a string to the current language or to a given language.

File

drupal/core/includes/bootstrap.inc, line 196
Functions that need to be loaded on every Drupal request.

Code

const LANGUAGE_SYSTEM = 'system';