LOCALE_TRANSLATION_OVERWRITE_NON_CUSTOMIZED

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

Code

const LOCALE_TRANSLATION_OVERWRITE_NON_CUSTOMIZED = 'non_customized';

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