You are here

constant LOCALE_TRANSLATION_OVERWRITE_NON_CUSTOMIZED in Drupal 9

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

UI option for override of existing translations. Only override non-customized translations.

3 uses of LOCALE_TRANSLATION_OVERWRITE_NON_CUSTOMIZED
LocaleSettingsForm::buildForm in core/modules/locale/src/Form/LocaleSettingsForm.php
Form constructor.
LocaleSettingsForm::submitForm in core/modules/locale/src/Form/LocaleSettingsForm.php
Form submission handler.
LocaleUpdateTest::testUpdateImportModeNonCustomized in core/modules/locale/tests/src/Functional/LocaleUpdateTest.php
Tests translation import and only overwrite non-customized translations.

File

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

Code

const LOCALE_TRANSLATION_OVERWRITE_NON_CUSTOMIZED = 'non_customized';