Skip to content

[main] Fix: translate tree cascade dropdown labels - #92

Merged
Rom1-B merged 4 commits into
mainfrom
forward-port/91-to-main
Nov 16, 2026
Merged

Rom1-B merged 4 commits into
mainfrom
forward-port/91-to-main

Conversation

@glpi-project

@glpi-project glpi-project Bot commented Nov 16, 2026

Copy link
Copy Markdown
Contributor

Forward-port of #91 to main.

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):

@glpi-project

glpi-project Bot commented Nov 16, 2026

Copy link
Copy Markdown
Contributor Author

Please cherry-pick the changes locally and resolve any conflicts.

git fetch origin forward-port/91-to-main
git worktree add --checkout .worktree/forward-port/91-to-main forward-port/91-to-main
cd .worktree/forward-port/91-to-main
git reset --hard HEAD^
git cherry-pick -x b8ea8fdc42912be095677ad8c533f3552cf111b1

@glpi-project glpi-project Bot mentioned this pull request Nov 16, 2026
3 of 4 tasks
Comment thread CHANGELOG.md Resolved
@Rom1-B
Rom1-B marked this pull request as ready for review November 16, 2026 11:30
@Rom1-B
Rom1-B requested review from a team, Mary-Clb, MyvTsv and jdurand-teclib and removed request for a team November 16, 2026 11:30
Comment thread CHANGELOG.md
### Fixed

- Fix GLPI compatibility constraint in plugin XML
- Fix hidden question not available in anonymous forms

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Already in the "FIXED" section of the 1.4.0 release

Suggested change
- Fix hidden question not available in anonymous forms

@Rom1-B
Rom1-B merged commit e61c758 into main Nov 16, 2026
7 checks passed
@Rom1-B
Rom1-B deleted the forward-port/91-to-main branch November 16, 2026 15:19
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.

Category translations are not applied in the "Tree Cascade Dropdown" question

2 participants