Same name and namespace in other branches
- 8.9.x core/modules/locale/locale.module \LOCALE_TRANSLATION_LOCAL
- 9 core/modules/locale/locale.module \LOCALE_TRANSLATION_LOCAL
Translation source is a local file.
6 uses of LOCALE_TRANSLATION_LOCAL
- LocaleUpdateTest::testUpdateCheckStatus in core/
modules/ locale/ tests/ src/ Functional/ LocaleUpdateTest.php - Checks if local or remote translation sources are detected.
- locale_requirements in core/
modules/ locale/ locale.install - Implements hook_requirements().
- locale_translation_check_projects_local in core/
modules/ locale/ locale.compare.inc - Check and store the status and timestamp of local po files.
- locale_translation_source_build in core/
modules/ locale/ locale.translation.inc - Builds abstract translation source.
- locale_translation_source_check_file in core/
modules/ locale/ locale.translation.inc - Checks whether a po file exists in the local filesystem.
File
- core/
modules/ locale/ locale.module, line 142 - Enables the translation of the user interface to languages other than English.
Code
const LOCALE_TRANSLATION_LOCAL = 'local';