Skip to content

v1.0.6 - Multilingual Support

Choose a tag to compare

@reallygood83 reallygood83 released this 10 Dec 02:33
· 3 commits to main since this release

๐ŸŒ Multilingual Support for Slide Generation

Added

  • Multilingual Support: Slides are now generated in the user's preferred language (English or Korean)
  • AI prompts now respect the preferredLanguage setting (en/ko) from plugin settings
  • Added comprehensive i18n (internationalization) utility module for language-specific prompts
  • Language-specific instructions are injected into both Summary and Plan stages of slide generation

Technical Details

  • Created src/utils/i18n.ts with language-specific prompt functions:
    • getLanguageInstruction(): Basic language instruction for AI
    • getAnalysisLanguagePrompt(): Language-specific prompts for content analysis
    • getBlueprintLanguagePrompt(): Language-specific prompts for slide blueprint generation
    • getExampleStructure(): Localized example text for prompts
  • Modified SummaryService.ts to inject language instructions into analysis prompts
  • Modified PlanService.ts to inject language instructions into blueprint generation prompts
  • All slide titles, content, and speaker notes are now generated in the selected language

Changed

  • Both SummaryService and PlanService now store settings reference to access preferredLanguage
  • AI prompts include explicit language requirements and localized examples
  • Korean users will now see all slide content (์ œ๋ชฉ, ๋‚ด์šฉ, ๋…ธํŠธ) in Korean
  • English users continue to see all slide content in English

Usage

  1. Open plugin settings (Settings โ†’ Slides Master)
  2. Set "Preferred Language" to your desired language (English or Korean)
  3. Generate slides as usual - all content will be in your preferred language

Full Changelog: https://github.com/reallygood83/slides-master/blob/main/CHANGELOG.md