openpencil/packages/core
Danila Poyarkov 2b3219e106 Add i18n to Vue SDK with nanostores
nanostores + @nanostores/i18n + @nanostores/vue (~6 KB total).

English base translations defined inline in messages.ts, other
locales loaded on demand from JSON. Grouped by domain: menu,
commands, tools, panels, pages, dialogs.

useI18n() composable returns reactive translation objects plus
locale controls. Russian locale included as first translation.

Browser language auto-detected, user preference persisted in
localStorage.
2026-03-25 16:17:03 +03:00
..
assets Refactor font loading: DRY up local font lookup, fix headless fallback 2026-03-16 13:38:16 +03:00
src Add i18n to Vue SDK with nanostores 2026-03-25 16:17:03 +03:00
package.json Extract createEditor() to packages/core/src/editor/ folder 2026-03-16 15:14:50 +03:00
tsconfig.json Fix core tsconfig: add ESNext and DOM libs for npm publish 2026-03-04 01:58:37 +03:00