Chosen strings are not translatable

Created on 31 May 2017, almost 8 years ago
Updated 18 January 2023, over 2 years ago

Chosen strings are not translatable. Are we should to add them as translatable markup?

$options = array(
    'disable_search' => (bool) $chosen_conf->get('disable_search'),
    'disable_search_threshold' => (int) $chosen_conf->get('disable_search_threshold'),
    'search_contains' => (bool) $chosen_conf->get('search_contains'),
    'placeholder_text_multiple' => new TranslatableMarkup($chosen_conf->get('placeholder_text_multiple')),
    'placeholder_text_single' => new TranslatableMarkup($chosen_conf->get('placeholder_text_single')),
    'no_results_text' => new TranslatableMarkup($chosen_conf->get('no_results_text')),
    'inherit_select_classes' => TRUE,
  );
🐛 Bug report
Status

Closed: works as designed

Version

2.0

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • Status changed to Closed: works as designed over 2 years ago
Production build 0.71.5 2024