Typescript app internationalization and localization
TypeScript is an open source programming language developed by Microsoft and first released in 2012. It is designed to add type safety to JavaScript while conforming as closely as possible to the syntax and semantics of the ECMAScript standard.
It is a syntactical superset of the JavaScript programming language; all valid JavaScript source code is also valid TypeScript source code, but not vice-versa. TypeScript compiles (or transpiles) to JavaScript, meaning that it can be utilized to target any JavaScript environment. It can be used to develop JavaScript for both client-side and server-side applications.
- Created by
- Microsoft
- Released
- October 1, 2012
- Links
-
https://www.typescriptlang.org
Wikipedia
🔗Typescript applications are usually translated these file formats
🔗Related Platforms
🔗Best way to localize Typescript
The first step is to extract the text to translate into language files. This process is called internationalization. You can move the text to translate into JSON hashes and call them in your Typescript.
Once you have internationalized your Typescript, use a translation software localization tool such as WebTranslateIt to manage your localization workflow.
It is easy to translate a Typescript app with WebTranslateIt. Create a project, upload your source language file in the File Manager and translate it on the Translation Interface.
The tools included in WebTranslateIt, such as Batch Operations, the Translation Memory or Machine Translation can help you translate that file automatically, faster and cost effectively.
🔗Links of interest
- WebTranslateIt’s CLI to help sync language files.
- ivanhofer/typesafe-i18n An opinionated, fully type-safe, lightweight localization library for TypeScript and JavaScript projects with no external dependencies.
- schummar/schummar-translate TypeScript powered translation library for React and Node.js.