"Language autocomplete (Tags style)" widget doesn't allow selection of languages with comma (i.e. Chinese, simplified)

Created on 15 April 2020, over 4 years ago
Updated 11 September 2024, 2 months ago

When using the "Language autocomplete (Tags style)" widget and selecting a language that contains a comma (i.e. "Chinese, Traditional" or "Portuguese, Brazil"), the node can't be saved but throws an error "An unexpected language is entered."

Probably the part after the comma is interpreted as its own language, and then not recognized as one of the accepted languages.

I don't know whether this can be fixed by the module itself, as widgets and languages are part of core. If not, I'd suggest to drop this widget type completely.

🐛 Bug report
Status

Fixed

Version

1.9

Component

User interface

Created by

🇨🇭Switzerland maenjuel

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

Merge Requests

Comments & Activities

Not all content is available!

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

Production build 0.71.5 2024