Skip to main content
在 Manus 中运行任何 Skill
一键导入

volverjs-zod-vue-i18n

星标25
分支5
更新时间2026年6月17日 08:44

Translate Zod's validation error messages into the active vue-i18n locale in Vue 3 apps, using the @volverjs/zod-vue-i18n error map. Use this skill whenever the user wants Zod validation errors (min/max/email/required/refine, etc.) rendered through vue-i18n — for example errors stuck in English despite a locale switch, multilingual form validation backed by Zod, or any mention of @volverjs/zod-vue-i18n, makeZodI18nMap, makeZodI18nLabel or zDate. It covers choosing the Zod 3 vs Zod 4 entry point, loading the bundled locale JSON, overriding or adding error keys, attaching a custom key to a validation (including without refine), per-field WithPath labels, and pluralized messages. Do not use it for translating general UI, label or placeholder copy with vue-i18n (no Zod involved), for Zod used outside Vue (Node, React, react-hook-form), for vue-i18n $d/$n date and number formatting, or for other validators such as valibot or yup.

安装

用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。

文件资源管理器
4 个文件
SKILL.md
readonly