You are here

constant LOCALE_TRANSLATION_USE_SOURCE_REMOTE_AND_LOCAL in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/locale/locale.module \LOCALE_TRANSLATION_USE_SOURCE_REMOTE_AND_LOCAL

Translation update mode: Use both remote and local files.

When checking for available translation updates, both local and remote files will be checked.

5 uses of LOCALE_TRANSLATION_USE_SOURCE_REMOTE_AND_LOCAL
LocaleUpdateTest::testUpdateCheckStatus in core/modules/locale/tests/src/Functional/LocaleUpdateTest.php
Checks if local or remote translation sources are detected.
LocaleUpdateTest::testUpdateImportModeNonCustomized in core/modules/locale/tests/src/Functional/LocaleUpdateTest.php
Tests translation import and only overwrite non-customized translations.
LocaleUpdateTest::testUpdateImportModeNone in core/modules/locale/tests/src/Functional/LocaleUpdateTest.php
Tests translation import and don't overwrite any translation.
LocaleUpdateTest::testUpdateImportSourceRemote in core/modules/locale/tests/src/Functional/LocaleUpdateTest.php
Tests translation import from remote sources.
locale_translation_use_remote_source in core/modules/locale/locale.module
Checks whether remote translation sources are used.

File

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

Code

const LOCALE_TRANSLATION_USE_SOURCE_REMOTE_AND_LOCAL = 'remote_and_local';