Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>KuCoin I18n HelperNew to Visual Studio Code? Get it now.
KuCoin I18n Helper

KuCoin I18n Helper

Neo

|
4 installs
| (0) | Free
Hover translations for _t, _tHTML, $t, $tHTML calls using project locale files.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

KuCoin I18n Helper

Shows inline translations for _t('translationKey') in JS/TS files using your project locale files.

How to use

  • Open this repository in VS Code
  • Run F5 to start the extension in a new Extension Development Host
  • The extension automatically searches for zh_CN.js or zh_CN.json files in your workspace
  • Optionally, configure kucoinI18nHelper.localeFile in settings to specify a custom locale file path
  • Translations are displayed inline after _t('...') (via VS Code inlay hints)
  • Long translations are truncated inline with an ellipsis; hover to see the full text
  • Use the command palette entry "KuCoin I18n Helper: Reload Translations" after changing locale files

Notes

  • The extension automatically searches for zh_CN.js or zh_CN.json files across your workspace
  • .json files are preferred over .js files when both exist
  • .js files should wrap translations in _KC_PAGE_LANG_LOADER("xx", { ... })
  • .json files should contain a direct JSON object with translation keys and values
  • A file watcher automatically refreshes translations when the locale file changes
  • To override auto-detection, configure kucoinI18nHelper.localeFile in your settings
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft