TypeScript · Command-line Options

locale

Set the language of the messaging from TypeScript. This does not affect emit.

Syntax
"locale": "value"

Example

Example
{
  "compilerOptions": {
    "locale": "value"
  }
}

More in this group

all help init listFilesOnly project showConfig version watch

Learn this in the course

Reference pages are the quick answer. The course explains the why, shows the full example and ends with a challenge.

Open the course