The i18n Text Adder extension for Visual Studio Code simplifies the process of adding new text keys and values to all language files in your i18n folder.
Features
Automatically detects the i18n folder in your project.
Allows you to add a new key and value to all JSON language files.
Supports custom key and value input.
Ensures no duplicate keys are added.
Requirements
Visual Studio Code version 1.50.0 or higher.
Your project must have an i18n folder with JSON language files.
Usage
Select the text in your editor that you want to add to the i18n files.
Right-click and choose "Add Text To I18n" from the context menu.
Enter the key and value for the new text.
The extension will automatically update all JSON files in the i18n folder.
Known Issues
Currently, the extension only supports JSON files.
Ensure that the i18n folder structure matches the expected format.
Release Notes
0.0.1
Initial release of i18n Text Adder.
Added support for adding keys and values to JSON language files.