super-productivity/packages/plugin-dev/boilerplate-solid-js/src
Johannes Millan 9be6bf7c27 fix(plugins): initialize current language on plugin mount
Fixed i18n to fetch and use the current language when the plugin
initializes, instead of always defaulting to English. Now the plugin
will show the correct language immediately on first load, and also
update reactively when the language changes.

Changes:
- Added getCurrentLanguage() call in useTranslate initialization
- Changed onMount to createEffect for reactive language loading
- Updated both App.tsx and ProcrastinationInfo.tsx to use createEffect
- Applied fixes to both procrastination-buster and boilerplate
- Added debug logging to troubleshoot language change events

This fixes the issue where plugins always started in English regardless
of the user's selected language.
2026-01-16 22:34:50 +01:00
..
app feat(plugins): add i18n support to boilerplate-solid-js 2026-01-16 22:34:50 +01:00
assets feat(plugin-api): create foundational plugin API package 2025-06-27 18:13:19 +02:00
utils fix(plugins): initialize current language on plugin mount 2026-01-16 22:34:50 +01:00
index.html feat: add open sans as default font 2025-09-04 18:30:09 +02:00
index.tsx feat(plugin-api): create foundational plugin API package 2025-06-27 18:13:19 +02:00
manifest.json feat(plugins): add i18n support to boilerplate-solid-js 2026-01-16 22:34:50 +01:00
plugin.ts fix(plugins): fix i18n message protocol for iframe communication 2026-01-16 22:34:50 +01:00