constant 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.

6 uses of LOCALE_TRANSLATION_USE_SOURCE_REMOTE_AND_LOCAL
LocaleUpdateTest::testUpdateCheckStatus in drupal/core/modules/locale/lib/Drupal/locale/Tests/LocaleUpdateTest.php
Checks if local or remote translation sources are detected.
LocaleUpdateTest::testUpdateImportModeNonCustomized in drupal/core/modules/locale/lib/Drupal/locale/Tests/LocaleUpdateTest.php
Tests translation import with a translations directory and only overwrite non-customized translations.
LocaleUpdateTest::testUpdateImportModeNone in drupal/core/modules/locale/lib/Drupal/locale/Tests/LocaleUpdateTest.php
Tests translation import with a translations directory and don't overwrite any translation.
LocaleUpdateTest::testUpdateImportSourceRemote in drupal/core/modules/locale/lib/Drupal/locale/Tests/LocaleUpdateTest.php
Tests translation import from remote sources.
LocaleUpdateTest::testUpdateImportWithoutDirectory in drupal/core/modules/locale/lib/Drupal/locale/Tests/LocaleUpdateTest.php
Tests translation import without a translations directory.

... See full list

File

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

Code

const LOCALE_TRANSLATION_USE_SOURCE_REMOTE_AND_LOCAL = 'remote_and_local';