DependencyTrack / DependencyTrack/frontend

Classifier Column on Project Components Tab: Implement Language Token

Open
#1,079 0 comments 0 reactions 0 assignees View on GitHub
enhancement good first issue i18n size/S
Dominant language
Vue
Stars
171
Forks
250
Avg merge
10h 56m
Merged PRs (30d)
84

Description

### Current Behavior

Support for display of component "Classifier" (ie, CycloneDX `type`) on the components tab for projects was added via PR #1058 for upcoming v4.13 release.

The values in the column are "All Caps" and do not translate when switching languages. ie, there is no language token

![Image](https://github.com/user-attachments/assets/1a382cee-bb90-4970-b6dc-dd0cba05b5b7)

### Proposed Behavior

Implement language tokens for component classifier.

Thus, LIBRARY would display as:

* "Library" in English
* "Bibliothèque" in French
* etc

The token already exists and displays just fine when viewing "Extended" tab of "View Details" for a component. eg, for Spanish:

![Image](https://github.com/user-attachments/assets/ec0b5606-cc60-4e7f-89f2-c64f9ddb7854)

### Checklist

- [x] I have read and understand the [contributing guidelines](https://github.com/DependencyTrack/dependency-track/blob/master/CONTRIBUTING.md#filing-issues)
- [x] I have checked the [existing issues](https://github.com/DependencyTrack/frontend/issues) for whether this enhancement was already requested

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at the components tab implementation added by PR #1058 and compare how classifier values are rendered with the existing Extended tab for a component. Reuse the existing language token so values such as LIBRARY are localized in each language; done means the classifier column no longer displays untranslated all-caps values.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend, internationalization
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.