skills/smithery.ai/native-translations

native-translations

Installation
SKILL.md

RULES:

  • import: updateTranslations, changeLang
  • base language is JS/TS file (not JSON)
  • JSON files live in public/translations
  • call updateTranslations() before render (await)
  • use changeLang(code, reload) to switch

BASE STRINGS (JS/TS):

import { W } from "winnetoujs";

export default W.strings = {
  appTitle: "My App",
  home: "Home",
  buttonText: "Change Language",
};
Installs
1
First Seen
Mar 26, 2026