constant LOCALE_TRANSLATION_USE_SOURCE_LOCAL

Translation update mode: Use local files only.

When checking for available translation updates, only local files will be used. Any remote translation file will be ignored. Also custom modules and themes which have set a "server pattern" to use a remote translation server will be ignored.

3 uses of LOCALE_TRANSLATION_USE_SOURCE_LOCAL
LocaleSettingsForm::validateForm in drupal/core/modules/locale/lib/Drupal/locale/Form/LocaleSettingsForm.php
Implements \Drupal\Core\Form\FormInterface::validateForm().
LocaleUpdateTest::testUpdateCheckStatus in drupal/core/modules/locale/lib/Drupal/locale/Tests/LocaleUpdateTest.php
Checks if local or remote translation sources are detected.
LocaleUpdateTest::testUpdateImportSourceLocal in drupal/core/modules/locale/lib/Drupal/locale/Tests/LocaleUpdateTest.php
Tests translation import from local sources.

File

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

Code

const LOCALE_TRANSLATION_USE_SOURCE_LOCAL = 'local';