Module Services/Types/ITextLocalizerService

A service to offer text alternatives to the default text based on cultureId.

It supports having fallbacks, so the app can have a standard implementation and another that introduces special cases.

To set that up:

let vs = createValidationServices(); // provides the standard case in vs.textLocalizerService
let special = new TextLocalizerService();
special.fallbackService = vs.textLocalizerService;
vs.textLocalizerService = special;

Index

Interfaces

Type Aliases

Generated using TypeDoc v0.25.12