no-unlocalized-toast
Require translation for literal toast messages in opted-in localized interfaces.
Why
User-facing notifications remain in a fixed language when their messages bypass translation.
Fix
Pass the user-facing message through the configured translation API, or explicitly exempt text that must remain literal.
Examples
import { toast } from "sonner";toast.success("Saved");import { toast } from "sonner";toast.success(t("saved"));