Skip to main content
Hostdog docs
Documentation & API reference
Main menu
Drupal 7
Drupal 8
Drupal 9
You are here
Home
»
API reference
»
Drupal 8.x
»
locale.module
Search Drupal 8.x
Function, class, file, topic, etc.
*
Partial match search is supported
API Navigation
Drupal 8.x
Topics
Classes
Functions
Files
Namespaces
Services
Constants
Globals
Deprecated
constant LOCALE_TRANSLATION_CURRENT
Translation source is the current translation.
4 uses of LOCALE_TRANSLATION_CURRENT
LocaleUpdateTest::testUpdateImportSourceLocal
in drupal/
core/
modules/
locale/
lib/
Drupal/
locale/
Tests/
LocaleUpdateTest.php
Tests translation import from local sources.
LocaleUpdateTest::testUpdateImportSourceRemote
in drupal/
core/
modules/
locale/
lib/
Drupal/
locale/
Tests/
LocaleUpdateTest.php
Tests translation import from remote sources.
LocaleUpdateTest::testUpdateImportWithoutDirectory
in drupal/
core/
modules/
locale/
lib/
Drupal/
locale/
Tests/
LocaleUpdateTest.php
Tests translation import without a translations directory.
locale_translation_get_file_history
in drupal/
core/
modules/
locale/
locale.module
Gets current translation status from the {locale_file} table.
File
drupal/
core/
modules/
locale/
locale.module
, line 127
Enables the translation of the user interface to languages other than English.
Code
const
LOCALE_TRANSLATION_CURRENT
=
'current'
;