<< All versions

Skill v1.0.0

currentLLM-judged scan90/100
mmtaee/ocserv-dashboard/vue-i18n
──Details
PublishedOctober 23, 2026 at 12:40 AM
Content Hashsha256:887dc9a4378cdaa2...
Git SHAe8b2509b4b82
──Files
Files (1 file, 1.3 KB)
SKILL.md1.3 KBactive
SKILL.md · 16 lines · 1.3 KB

version: "1.0.0" name: vue-i18n description: Maintain localization and bidirectional layout support in this Vue admin dashboard. Use when adding or changing component text, locale catalogs, language selection, document direction, or i18n environment configuration.


Vue i18n

Keep user-facing text in src/locales, including placeholders, titles, and screen-reader labels. Components must use the global Composition API composer rather than hardcoded display strings. Do not translate generated API identifiers or unstable backend error payloads without a stable error-code contract.

Maintain identical message keys across all locale files. The languages exposed by the UI come from VITE_I18N_LANGUAGES; only codes with bundled catalogs are accepted. Change languages through setLocale so the selection is persisted and the document lang, dir, and title stay synchronized.

Treat Arabic and Persian as RTL. Preserve the reactive Reka ConfigProvider, use logical Tailwind positioning utilities for direction-agnostic layout, and place the dashboard sidebar on the matching physical side. When adding shadcn-vue components, keep rtl: true in components.json and migrate any older physical positioning classes.

After changing messages or localized UI, verify catalog key parity, run yarn type-check, and run yarn build.

All versions