Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>GenI18nNew to Visual Studio Code? Get it now.
GenI18n

GenI18n

Pravinkumar Putta

|
77 installs
| (2) | Free
This convert selected text Geni18n key value.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

geni18n README

This extension convert selected text Geni18n key value.

Extension Settings

This extension contributes the following settings:

  • geni18n.enableLowerCase: enable/disable preparing key in lower case.

  • geni18n.resultTemplate: final converted key value pairs are placed into this result template.

  • geni18n.i18nResultTemplate: final converted key value pairs are placed into this result template and places into given i18n files in genI18n.config.json as shown below.

      `{
      	"groupWithFileName": false,
      	"languagePaths": [
      		"src/lang/en.json",
      		"src/lang/hi.json",
      		"src/lang/mr.json"
      	]
      }`
    
  • geni18n.replacements: list of replacements are used to prepare final key.

Edit Settings

  • Go to command pallete or press Ctrl+Shift+P.
  • Search for GenI18n Settings and execute.
  • Edit as you required.

Uage

  1. Normal i18n key value preparation

    • Select text which you want to convert.
    • Right Click and select GenI18n Key-Value Prepare.
    • Or Go to command pallete and search for GenI18n Key-Value Prepare and execute.
    • Or Use shortcut Ctrl + Shift + J.
  2. I18n key value preparation and placing into i18n files

    • Select text which you want to convert.
    • Right Click and select GenI18n New Entry.
    • Or Go to command pallete and search for GenI18n New Entry and execute.
    • Or Use shortcut Ctrl + Shift + K.

Release Notes

0.0.1

Initial release of GenI18n is with only i18n key-value preparation.

1.0.0

Now it supports key value preparation and placing generated keys into given i18n file paths.

Enjoy!

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