locale_translation_clear_status()
Clear the translation status cache.
File
- core/modules/locale/locale.module, line 1006
- Enables the translation of the user interface to languages other than English.
Code
function locale_translation_clear_status() { \Drupal::state()->delete('locale.translation_status'); \Drupal::state()->delete('locale.translation_last_checked'); }
Please login to continue.