Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/gcascio/trpc-i18n-errors


https://github.com/gcascio/trpc-i18n-errors

Last synced: about 4 hours ago
JSON representation

Awesome Lists containing this project

README

        

# tRPC i18n error example

This repository demonstrates an approach to handle localized error messages when using tRPC and accompanies a [blog post](https://www.gcasc.io/blog/trpc-i18n-errors).

## Stack

This project was bootstrapped with [create-t3-app](https://create.t3.gg/) and the following changes have been made:

- localization with [next-intl](https://github.com/amannn/next-intl)
- form handling with [react-hook-form](https://github.com/react-hook-form/react-hook-form)
- localized error messages