Skip to content

v6: Combobox is not localizable #43370

Open

Description

@miken32

Prerequisites

Describe the issue

The text for selecting multiple items ("n selected") is hard-coded into the JavaScript code without the possibility to localise it. It should be settable via an options object passed to the constructor, a data- attribute, or some other method. (Whatever solution is chosen should allow for the possibility of the text to precede the number as well.)

I don't think there are very many components that have UI text, but there should be consistent, prominent documentation for localizing them. For example, the password strength indicator docs do show how to localize the labels, but only in the context of "how to pass a config object." IMO there should be a first-level localisation section on the page.

Reduced test cases

https://github.com/twbs/bootstrap/blob/main/js/src/combobox.ts#L1287

What operating system(s) are you seeing the problem on?

macOS

What browser(s) are you seeing the problem on?

No response

What version of Bootstrap are you using?

v6

Activity

  1. added
    bugSomething does not work as documented
    on Nov 13, 2026
  2. added
    confirmedReproduced with a reduced test case
    docsDocumentation site and its content
    jsJavaScript or TypeScript sources and plugins
    v6v6, the main branch
    on Nov 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething does not work as documentedconfirmedReproduced with a reduced test casedocsDocumentation site and its contentjsJavaScript or TypeScript sources and pluginsv6v6, the main branch

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions