super-productivity/packages/plugin-api/src
Johannes Millan 95578ef77b feat(plugins): add plugin i18n foundation (Phase 0-1)
- Add i18n field to PluginManifest type in plugin-api package
- Create PluginI18nService for translation management
  - Load translations from file paths or cached content
  - Nested key lookup with dot notation (e.g., BUTTONS.SAVE)
  - Smart fallback: current language → English → key
  - Parameter interpolation with {{param}} syntax
  - Language switching via signals
  - Memory cleanup for unloaded plugins
- Add type validation for cached translation content
- Document language sync integration points

Part of plugin internationalization system implementation.
Tests will be added in Phase 8.
2026-01-16 17:52:13 +01:00
..
index.ts feat(plugins): update plugin infrastructure and cleanup 2025-07-10 15:06:48 +02:00
types.js.map build(electron): upgrade to Electron 39 with X11 default on Linux 2025-12-05 15:28:40 +01:00
types.ts feat(plugins): add plugin i18n foundation (Phase 0-1) 2026-01-16 17:52:13 +01:00