Summary
The CVSS calculator dialog (added in #86) displays metric category names, metric names, metric descriptions, and metric value names/descriptions sourced directly from the ae-cvss-calculator library. These strings are all in English and are not localized.
Current behavior
Metric labels like "Attack Vector (AV)", value labels like "Network", and descriptions like "This metric reflects the context by which vulnerability exploitation is possible" are rendered in English regardless of the user's selected locale.
Expected behavior
All metric-related strings displayed in the calculator dialog should be translated to the user's active locale.
Approach considerations
- The
ae-cvss-calculator library does not provide localized strings — it only returns English names/descriptions via getRegisteredComponents()
- Options to consider:
- Maintain our own translation keys for all CVSS 3.1 and 4.0 metric/value names and descriptions (significant number of strings)
- Contribute i18n support upstream to
ae-cvss-calculator
- Use a mapping layer that overrides library strings with our own Transloco keys
- CVSS 3.1 has ~8 base metrics + temporal/environmental; CVSS 4.0 has ~11 base metrics + supplemental groups — each with multiple values, so the total string count is substantial
Related
Summary
The CVSS calculator dialog (added in #86) displays metric category names, metric names, metric descriptions, and metric value names/descriptions sourced directly from the
ae-cvss-calculatorlibrary. These strings are all in English and are not localized.Current behavior
Metric labels like "Attack Vector (AV)", value labels like "Network", and descriptions like "This metric reflects the context by which vulnerability exploitation is possible" are rendered in English regardless of the user's selected locale.
Expected behavior
All metric-related strings displayed in the calculator dialog should be translated to the user's active locale.
Approach considerations
ae-cvss-calculatorlibrary does not provide localized strings — it only returns English names/descriptions viagetRegisteredComponents()ae-cvss-calculatorRelated