You are here

constant LOCALE_TRANSLATION_LOCAL in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/locale/locale.module \LOCALE_TRANSLATION_LOCAL
  2. 10 core/modules/locale/locale.module \LOCALE_TRANSLATION_LOCAL

Translation source is a local file.

10 uses of LOCALE_TRANSLATION_LOCAL
LocaleUpdateTest::testUpdateCheckStatus in core/modules/locale/tests/src/Functional/LocaleUpdateTest.php
Checks if local or remote translation sources are detected.
locale_requirements in core/modules/locale/locale.install
Implements hook_requirements().
locale_translation_batch_fetch_download in core/modules/locale/locale.batch.inc
Implements callback_batch_operation().
locale_translation_batch_fetch_import in core/modules/locale/locale.batch.inc
Implements callback_batch_operation().
locale_translation_batch_status_check in core/modules/locale/locale.batch.inc
Implements callback_batch_operation().

... See full list

File

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

Code

const LOCALE_TRANSLATION_LOCAL = 'local';