Skip to content

Fix: translate tree cascade dropdown labels - #91

Merged
Rom1-B merged 2 commits into
11.0/bugfixesfrom
issue_55
Nov 16, 2026
Merged

Rom1-B merged 2 commits into
11.0/bugfixesfrom
issue_55

Conversation

@Rom1-B

@Rom1-B Rom1-B commented Nov 13, 2026

Copy link
Copy Markdown
Contributor

Checklist before requesting a review

Please delete options that are not relevant.

  • I have performed a self-review of my code.
  • I have added tests (when available) that prove my fix is effective or that my feature works.
  • I have updated the CHANGELOG with a short functional description of the fix or new feature.
  • This change requires a documentation update.

Description

  • It fixes Category translations are not applied in the "Tree Cascade Dropdown" question #55
  • The Tree Cascade Dropdown question displayed items (for example ticket categories) in the language they were created in, ignoring the dropdown translations defined in GLPI.
  • Every level (first level, levels loaded on selection, levels prefilled from the default value, selectable root) now shows labels translated into the user language, sorted by translated label, like the standard dropdown question.

Screenshots (if appropriate):

@Rom1-B
Rom1-B requested review from a team, Mary-Clb, MyvTsv and jdurand-teclib and removed request for a team November 13, 2026 14:32
@Rom1-B
Rom1-B merged commit b8ea8fd into 11.0/bugfixes Nov 16, 2026
7 checks passed
@Rom1-B
Rom1-B deleted the issue_55 branch November 16, 2026 11:15
@glpi-project

glpi-project Bot commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

Backport-action backported this pull request in workflow run 43856121412.

Target Status
main ⚠️ Drafted with conflicts #92

Rom1-B added a commit that referenced this pull request Nov 16, 2026
Forward-port of #91 to `main`.

## Checklist before requesting a review

*Please delete options that are not relevant.*

- [x] I have performed a self-review of my code.
- [x] I have added tests (when available) that prove my fix is effective
or that my feature works.
- [x] I have updated the CHANGELOG with a short functional description
of the fix or new feature.
- [ ] This change requires a documentation update.

## Description

- It fixes #55
- The `Tree Cascade Dropdown` question displayed items (for example
ticket categories) in the language they were created in, ignoring the
dropdown translations defined in GLPI.
- Every level (first level, levels loaded on selection, levels prefilled
from the default value, selectable root) now shows labels translated
into the user language, sorted by translated label, like the standard
dropdown question.

## Screenshots (if appropriate):

---------

Co-authored-by: Romain B. <8530352+Rom1-B@users.noreply.github.com>
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.

2 participants