Skip to content

Getting Started with Legesher

Welcome to Legesher! This guide will help you start coding in your native language.

Install from the VS Code Marketplace:

  • Search for “Legesher” in the Extensions panel
  • Click “Install”

Or install manually:

Terminal window
code --install-extension legesher.legesher-vscode

After installation, you’ll see a welcome dialog. Click “Choose Your Language” to select your preferred coding language.

Or manually:

  1. Open Command Palette (Cmd+Shift+P or Ctrl+Shift+P)
  2. Type “Legesher: Select Language”
  3. Choose your language from the list

Open a Python file and start typing! Legesher will:

  • Provide keyword suggestions in your language
  • Show hover documentation in your language
  • Translate Python builtins and exceptions
  • Support IntelliSense in your native language

Legesher currently supports Python 3.10+ with translations in 51 languages, including:

  • Amharic (አማርኛ) · Arabic (العربية) · Bengali (বাংলা) · Bosnian (Bosanski)
  • Catalan (Català) · Chinese (中文) · Croatian (Hrvatski) · Czech (Čeština)
  • Danish (Dansk) · Dutch (Nederlands) · English · Finnish (Suomi)
  • French (Français) · Galician (Galego) · German (Deutsch) · Greek (Ελληνικά)
  • Gujarati (ગુજરાતી) · Hebrew (עברית) · Hindi (हिन्दी) · Hungarian (Magyar)
  • Indonesian (Bahasa Indonesia) · Irish (Gaeilge) · Italian (Italiano)
  • Japanese (日本語) · Kannada (ಕನ್ನಡ) · Korean (한국어) · Latvian (Latviešu)
  • Macedonian (Македонски) · Malay (Bahasa Melayu) · Malayalam (മലയാളം)
  • Mongolian (Монгол) · Norwegian (Norsk) · Persian (فارسی) · Polish (Polski)
  • Portuguese (Português) · Romanian (Română) · Russian (Русский)
  • Scottish Gaelic (Gàidhlig) · Serbian (Српски) · Sinhala (සිංහල)
  • Spanish (Español) · Sundanese (Basa Sunda) · Swedish (Svenska)
  • Telugu (తెలుగు) · Thai (ไทย) · Turkish (Türkçe) · Urdu (اردو)
  • Uzbek (O’zbek) · Vietnamese (Tiếng Việt) · Welsh (Cymraeg)

See Supported Languages for the complete list with details.

Write Python keywords in your native language:

# Spanish example: keywords, control flow, and error handling
definir saludar(nombre):
mensaje = f"¡Hola, {nombre}! Bienvenido a Legesher."
imprimir(mensaje)
devolver mensaje
definir saludar_con_edad(nombre, edad):
si edad < 18:
categoria = "joven"
si_no edad < 65:
categoria = "adulto"
sino:
categoria = "sabio"
imprimir(f"¡Hola, {categoria} {nombre}!")
devolver categoria
definir ejemplo_manejo_errores():
probar:
resultado = 100 / entero(entrada("Número: "))
imprimir(f"Resultado: {resultado}")
excepto errordedivisiónporcero:
imprimir("Error: No se puede dividir por cero.")
excepto errordevalor:
imprimir("Error: Ingresa un número válido.")
finalmente:
imprimir("Operación completada.")

Your code is stored in English in git, but you see it in your language:

  • Your view: Code in your native language
  • Git storage: English (for universal collaboration)
  • Automatic translation: Both directions, seamlessly

Get completions, hover docs, and diagnostics in your language:

  • Type imprimir and see suggestions for print()
  • Hover over functions to see localized documentation
  • Error messages in your language

Control what data Legesher collects:

Basic telemetry (enabled by default):

{
"legesher.telemetry.enabled": true
}

ML training contributions (opt-in only):

{
"legesher.telemetry.contributeToMLTraining": false
}

Learn more about privacy

Change your coding language anytime:

  1. Click the language indicator in the status bar (bottom right)
  2. Or use Command Palette: “Legesher: Select Language”
  1. Check that you have Python installed
  2. Open a .py file to trigger activation
  3. Check the Output panel: View > Output > Select “Legesher Language Server”
  1. Verify language selection: Check status bar
  2. Restart language server: Command Palette > “Legesher: Restart Language Server”
  3. Check for errors in Output panel

Ready to code? Open a Python file and start typing in your language!