Issue #3273986 by ifrik, xurizaemon, rpayanm, Wim Leers, Charles Belov,...
Issue #3273986 by ifrik, xurizaemon, rpayanm, Wim Leers, Charles Belov, jonathan_hunt: Third option for the CKEditor 5 "Language" button: site_configured (in addition to un and all)
$language_list_description=$this->t('The list of languages in the CKEditor "Language" dropdown can present the <a href=":united-nations-official">@count_united_nations official languages of the UN</a>, all @count_predefined languages predefined in Drupal, or the <a href=":admin-configure-languages">@count_configured languages configured for this site</a>.',$language_list_description_args+[':admin-configure-languages'=>Url::fromRoute('entity.configurable_language.collection')->toString()]);
}
else{
$language_list_description=$this->t('The list of languages in the CKEditor "Language" dropdown can present the <a href=":united-nations-official">@count_united_nations official languages of the UN</a>, all @count_predefined languages predefined in Drupal, or the languages configured for this site.',$language_list_description_args);
}
$form['language_list']=[
'#title'=>$this->t('Language list'),
'#title_display'=>'invisible',
'#type'=>'select',
'#options'=>[
'un'=>$this->t("United Nations' official languages"),
'#description'=>$this->t('The list of languages to show in the language dropdown. The basic list will only show the <a href=":url">six official languages of the UN</a>. The extended list will show all @count languages that are available in Drupal.',[