Skip to content

VS Code Extension

Search for “Localive” in the VS Code Extensions marketplace, or install the .vsix file manually.

Hover over any translation key to see translations across all locales:

nav.home →
en: Home
fr: Accueil
de: Startseite

Type t(' or data-i18n-key=" and get autocomplete suggestions from your locale files.

Right-click a translation key → Go to Definition opens the locale JSON file at that key’s location.

Right-click a translation key → Find All References shows every file where that key is used in source code.

  • Missing keys — keys used in code but missing from one or more locale files
  • Unused keys — keys in locale files but not referenced in source code
CommandDescription
Localive: Create Translation KeySelect text → create a key in all locale files
Localive: Rename Translation KeyRename a key across all locale files and source references

Open VS Code settings and search for “Localive”:

SettingDefaultDescription
localive.localePaths["src/i18n/**/*.json", ...]Glob patterns for locale JSON files
localive.defaultLocale"en"Default/source locale code
localive.sourcePaths["src/**/*.{ts,tsx,js,jsx,vue,svelte,html}"]Glob patterns for source files