Same name and namespace in other branches
  1. 8.9.x core/modules/locale/locale.module \LOCALE_TRANSLATION_CURRENT
  2. 9 core/modules/locale/locale.module \LOCALE_TRANSLATION_CURRENT

Translation source is the current translation.

5 uses of LOCALE_TRANSLATION_CURRENT
LocaleUpdateTest::testUpdateImportSourceLocal in core/modules/locale/tests/src/Functional/LocaleUpdateTest.php
Tests translation import from local sources.
LocaleUpdateTest::testUpdateImportSourceRemote in core/modules/locale/tests/src/Functional/LocaleUpdateTest.php
Tests translation import from remote sources.
locale_translation_get_file_history in core/modules/locale/locale.module
Gets current translation status from the {locale_file} table.
locale_translation_source_build in core/modules/locale/locale.translation.inc
Builds abstract translation source.
locale_translation_status_save in core/modules/locale/locale.module
Saves the status of translation sources in static cache.

File

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

Code

const LOCALE_TRANSLATION_CURRENT = 'current';