Getting Started with Legesher
Welcome to Legesher! This guide will help you start coding in your native language.
Quick Start
Section titled “Quick Start”1. Install the VS Code Extension
Section titled “1. Install the VS Code Extension”Install from the VS Code Marketplace:
- Search for “Legesher” in the Extensions panel
- Click “Install”
Or install manually:
code --install-extension legesher.legesher-vscode2. Select Your Language
Section titled “2. Select Your Language”After installation, you’ll see a welcome dialog. Click “Choose Your Language” to select your preferred coding language.
Or manually:
- Open Command Palette (Cmd+Shift+P or Ctrl+Shift+P)
- Type “Legesher: Select Language”
- Choose your language from the list
3. Start Coding
Section titled “3. Start Coding”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
Supported Languages
Section titled “Supported Languages”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.
Features
Section titled “Features”Keyword Translation
Section titled “Keyword Translation”Write Python keywords in your native language:
# Spanish example: keywords, control flow, and error handlingdefinir 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.")Git Integration
Section titled “Git Integration”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
IntelliSense Support
Section titled “IntelliSense Support”Get completions, hover docs, and diagnostics in your language:
- Type
imprimirand see suggestions forprint() - Hover over functions to see localized documentation
- Error messages in your language
Settings
Section titled “Settings”Telemetry
Section titled “Telemetry”Control what data Legesher collects:
Basic telemetry (enabled by default):
{ "legesher.telemetry.enabled": true}ML training contributions (opt-in only):
{ "legesher.telemetry.contributeToMLTraining": false}Language Selection
Section titled “Language Selection”Change your coding language anytime:
- Click the language indicator in the status bar (bottom right)
- Or use Command Palette: “Legesher: Select Language”
Troubleshooting
Section titled “Troubleshooting”Extension not activating?
Section titled “Extension not activating?”- Check that you have Python installed
- Open a
.pyfile to trigger activation - Check the Output panel: View > Output > Select “Legesher Language Server”
Translations not showing?
Section titled “Translations not showing?”- Verify language selection: Check status bar
- Restart language server: Command Palette > “Legesher: Restart Language Server”
- Check for errors in Output panel
Need help?
Section titled “Need help?”What’s Next?
Section titled “What’s Next?”- Browse all supported languages
- Contribute translations or code on GitHub
Ready to code? Open a Python file and start typing in your language!