We're updating the issue view to help you get more done.Learn more

Add live validations to React editor.

The GWT editor runs validations on translations as they are typed, and immediately displays problems detected by the validators.

The React editor should be able to run any of the standard validators, based on the settings for the project-version (off/warning/error).

Validators to be kept in strongly-typed code (Typescript), and prepared as a module to be built through a separate webpack config and entry to generate the Validator library as JavaScript consumable by Nashorn on the server in ZNTA-2587

List of validators (taken from GWT editor validation options):

  • HTML/XML tags

  • Java variables

  • Leading/trailing newline (\n)

  • Positional printf (XSI extension)

  • Printf variables

  • Tab characters (\t)

  • XML entity reference

Integrate Validators with alpha editor Validation component ZNTA-2519
Apply Validators selected as Warning / Error in validation option settings ZNTA-2425

Status

Assignee

Earl Mark Floden

Reporter

David Mason

Story point estimate

3

Epic Link

Components

Sprint

None

Fix versions

Priority

unspecified