Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>translate-extractor-helperNew to Visual Studio Code? Get it now.
translate-extractor-helper

translate-extractor-helper

Nitesh Bhardwaj

|
51 installs
| (2) | Free
Move all text node to translation file
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Translate Extractor Helper VSCode Extension

This extension allows you to move all text nodes from your React component to a JSON file.

Features

  • Extracts all text nodes from your React component
  • Moves the extracted text nodes to a JSON file
  • Customizable function name, JSON file path, and key naming

Usage

To enable the extension, open the Command Palette (Ctrl + Shift + P) and run Translate Extractor Helper: From File.

Configuration

The extension allows the following configuration options:

translate-extractor-helper.tFunction

Type: string Default: t Description: The function name used to replace the extracted string. The default is t function.

translate-extractor-helper.jsonFilePath

Type: string Default: en.json Description: The path of the JSON file where the extracted strings will be moved to.

translate-extractor-helper.keyNaming

Type: string Default: kebabCase Description: The replacement for spaces in the extracted string keys. Options are kebabCase or snakeCase.

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