Localized messages
When invoking the TypeScript compiler through the command line, we can also specify that any messages should be displayed in a specific language. This is accomplished via the --locale command-line option, as follows:
tsc --locale pl
Here, we are compiling our source code as per usual, but the message output will be in Polish, as follows:
error TS2322: Typu „number” nie można przypisać do typu „string”
As at the time of writing, the possible values that can be used for the --locale compile option are as follows:
en English US cs Czech de German es Spanish fr French it Italian ja Japanese ko Korean pl Polish ru Russian tr Turkish
When building TypeScript applications, all of the frameworks and supporting tools you will need come with a command-line interface. It is not unusual to see a developer running multiple command-line windows, one for automatic code compilation, one for running a web server, and another to run unit tests, as and when the code base changes. If you are developing on Windows, then take a look at the excellent command-line emulator named cmder (http://cmder.net/). It supports multiple tabs, split screens, and includes a Linux emulator with out-of-the-box git support.
If you are looking for a good TypeScript source code editor, then you simply must consider Visual Studio Code (VSCode). Using a Node-based command-line environment and VSCode is all you will need to build any TypeScript project on any operating system. If you are familiar with Microsoft Visual Studio, or Webstorm, and like a fully integrated development environment, then these two IDEs may be best suited.