Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Panel

On this page:

Table of Contents

Target audience:

CAST AI Administrators

Info
Summary: This page explains how to modify default text in the CAST Application Analytics and Engineering Dashboards.

Introduction

The CAST Application Analytics and Engineering Dashboards use a .json file to define the default text that is used within the dashboards. For example:

Click to enlarge:

Image Added

The above text is defined in the .json file:

Code Block
languagetext
"Total Quality index": "Total Quality index",
"Total Quality index measures the global quality level of the application based on all existing technical criteria that are based on our 5 health factors. Sometimes quality rules are linked to multiple technical criteria so that sum of critical violations of TQI is not the same than the sum of critical violations for all health factor.": "Total Quality index measures the global quality level of the application based on all existing technical criteria that are based on our 5 health factors. Sometimes quality rules are linked to multiple technical criteria so that sum of critical violations of TQI is not the same than the sum of critical violations for all health factor.",

Modifying the default text

Locate the .json files

The .json files used to define the dashboard texts are located as follows. Use a text editor to edit the files:

Code Block
languagetext
AED: %CATALINA_HOME%\webapps\CAST-AED\engineering\locales\dev\translation.json
AAD: %CATALINA_HOME%\webapps\CAST-AAD\portal\locales\dev\translation.json

Editing text

Text is defined with a key:value pair, for example:

Code Block
languagetext
"Total Quality index": "Total Quality index",

To edit text, change the value, not the initial key:

Code Block
languagetext
"Total Quality index": "Total Quality Index for company",

Removing text

To remove text, delete the value leaving behind space separated quote marks:

Code Block
languagetext
"Total Quality index": " ",

Viewing the changes

To view your changes:

  • Restart the web application server
  • Clear your browser cache
  • Reload the dashboard