Same name and namespace in other branches
  1. 8.9.x core/modules/locale/locale.module \LOCALE_TRANSLATION_USE_SOURCE_LOCAL
  2. 9 core/modules/locale/locale.module \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.

11 uses of LOCALE_TRANSLATION_USE_SOURCE_LOCAL
ConfigTranslationListUiTest::setUp in core/modules/config_translation/tests/src/Functional/ConfigTranslationListUiTest.php
ConfigTranslationUiTest::testLocaleDBStorage in core/modules/config_translation/tests/src/Functional/ConfigTranslationUiTest.php
Tests translation storage in locale storage.
LocaleConfigTranslationImportTest::testConfigTranslationImport in core/modules/locale/tests/src/Functional/LocaleConfigTranslationImportTest.php
Tests update changes configuration translations if enabled after language.
LocaleConfigTranslationImportTest::testConfigTranslationModuleInstall in core/modules/locale/tests/src/Functional/LocaleConfigTranslationImportTest.php
Tests update changes configuration translations if enabled after language.
LocaleConfigTranslationImportTest::testLocaleRemovalAndConfigOverrideDelete in core/modules/locale/tests/src/Functional/LocaleConfigTranslationImportTest.php
Tests removing a string from Locale deletes configuration translations.

... See full list

File

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

Code

const LOCALE_TRANSLATION_USE_SOURCE_LOCAL = 'local';