Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Angular TranslatorNew to Visual Studio Code? Get it now.
Angular Translator

Angular Translator

Rohan Agarwal

|
3,824 installs
| (1) | Free
Internationalizes hard-coded strings in html file and build up the en.json file for Angular Projects.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

angular-translator README

A VS Code extension to internationalize hard-coded strings in html file and build up the en.json file for Angular Projects.

Features

Supported Features:

  • Select the string to internationalize ,which adds translate pipe to it.
  • Windows - (ctrl+alt+T) | Mac - (cmd + T)
  • Makes the corresponding entry of the selected string in en.json file, with a maximum key lenght of 5 words.
  • Duplicate entries are not made.

adds translate pipe adds to en.json

Requirements

There should be an i18n folder inside the src folder with an en.json File.

This extension assumes that Angular Project should has the npm package @ngx-translate/core installed.

Known Issues

The extension will not work if the requirement specified above is not met. It will not create a file automatically in case it is not found.

Release Notes

0.0.1

Initial release of Angular-Translator

The first release focused on providing a simple semi-automated solution to internationalize all hard coded strings in your angular app for English Language.

0.1.1

This release fixes the issue of duplicate object key in en.json file and converts the key to lowercase.

Enjoy!

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft