DependencyTrack / DependencyTrack/frontend
Classifier Column on Project Components Tab: Implement Language Token
- 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

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

### 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