Skip to content

Configurable labels for language selector#369

Open
wolfgangmm wants to merge 2 commits into
mainfrom
bugfix/pb-lang
Open

Configurable labels for language selector#369
wolfgangmm wants to merge 2 commits into
mainfrom
bugfix/pb-lang

Conversation

@wolfgangmm

@wolfgangmm wolfgangmm commented Jun 29, 2026

Copy link
Copy Markdown
Member

The label shown by the language selector in the menubar should be configurable and not limited in width.

Support an explicit, arbitrary label to be defined in languages.json, e.g.:

{
    "zh_Hant": {
        "label": "繁體中文",
        "abbreviation": "zh"
    },
    "en": {
        "label": "English",
        "abbreviation": "en"
    }
}

"language-label": "abbreviation" in config.json will use abbreviation for display. Backwards compatibility with old languages.json is preserved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant