constant LOCALE_CUSTOMIZED in Drupal 9
Same name and namespace in other branches
- 8 core/modules/locale/locale.module \LOCALE_CUSTOMIZED
Flag for locally customized interface translation.
Such translations are edited from their imported originals on the user interface or are imported as customized.
5 uses of LOCALE_CUSTOMIZED
- ImportForm::submitForm in core/
modules/ locale/ src/ Form/ ImportForm.php - Form submission handler.
- LocaleStringTest::testStringCrudApi in core/
modules/ locale/ tests/ src/ Kernel/ LocaleStringTest.php - Tests CRUD API.
- LocaleStringTest::testStringSearchApi in core/
modules/ locale/ tests/ src/ Kernel/ LocaleStringTest.php - Tests Search API loading multiple objects.
- PoDatabaseReader::loadStrings in core/
modules/ locale/ src/ PoDatabaseReader.php - Builds and executes a database query based on options set earlier.
- TranslationString::setCustomized in core/
modules/ locale/ src/ TranslationString.php - Sets the string as customized / not customized.
File
- core/
modules/ locale/ locale.module, line 82 - Enables the translation of the user interface to languages other than English.
Code
const LOCALE_CUSTOMIZED = 1;