LOCALE_TRANSLATION_CURRENT

Same name in other branches
  1. 9 core/modules/locale/locale.module \LOCALE_TRANSLATION_CURRENT
  2. 10 core/modules/locale/locale.module \LOCALE_TRANSLATION_CURRENT
  3. 11.x 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

Code

const LOCALE_TRANSLATION_CURRENT = 'current';

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.