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 26 languages:

  • Arabic (العربية) · Chinese (中文) · Danish (Dansk)
  • Dutch (Nederlands) · English (English) · Finnish (Suomi)
  • French (Français) · German (Deutsch) · Greek (Ελληνικά)
  • Hebrew (עברית) · Hindi (हिन्दी) · Hungarian (Magyar)
  • Indonesian (Bahasa Indonesia) · Italian (Italiano) · Japanese (日本語)
  • Korean (한국어) · Malay (Bahasa Melayu) · Norwegian (Norsk)
  • Polish (Polski) · Portuguese (Português) · Russian (Русский)
  • Spanish (Español) · Swedish (Svenska) · Thai (ไทย)
  • Turkish (Türkçe) · Vietnamese (Tiếng Việt)

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!