You are here

constant LOCALE_TRANSLATION_CURRENT in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/locale/locale.module \LOCALE_TRANSLATION_CURRENT
  2. 10 core/modules/locale/locale.module \LOCALE_TRANSLATION_CURRENT

Translation source is the current translation.

6 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_batch_fetch_import in core/modules/locale/locale.batch.inc
Implements callback_batch_operation().
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.

... See full list

File

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

Code

const LOCALE_TRANSLATION_CURRENT = 'current';