Admin
Administration backend
@waaseyaa/admin
Schema-driven admin SPA for Waaseyaa (Nuxt 3 + Vue 3).
i18n
Translations live in app/i18n/ and are consumed by useLanguage().
Current locales
en(app/i18n/en.json)fr(app/i18n/fr.json)
Add a new locale
- Create
app/i18n/<locale>.jsonwith the same keys used inen.json. - Import and register it in
app/composables/useLanguage.ts:import <locale> from '~/i18n/<locale>.json'- extend the
Localeunion andmessagesmap.
- The topbar language selector in
components/layout/AdminShell.vuewill render it automatically fromuseLanguage().locales. - Add/update unit tests in:
tests/unit/composables/useLanguage.test.tstests/components/layout/AdminShell.test.ts