UseTranslator – shadcn/ui Hook by astryx | shadcnregistry
UseTranslator
hook
Returns a translator function that resolves keys against the current locale, provider overrides, and the shipped English fallback catalog. Call inside a component; the returned function can be used anywhere within that component's scope.