LOCALE_TRANSLATION_USE_SOURCE_REMOTE_AND_LOCAL
Same name in other branches
- 9 core/modules/locale/locale.module \LOCALE_TRANSLATION_USE_SOURCE_REMOTE_AND_LOCAL
- 8.9.x core/modules/locale/locale.module \LOCALE_TRANSLATION_USE_SOURCE_REMOTE_AND_LOCAL
- 10 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
Code
const LOCALE_TRANSLATION_USE_SOURCE_REMOTE_AND_LOCAL = 'remote_and_local';
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.