danielgtaylor / danielgtaylor/huma

Validation errors localization

Open
#414 4 comments 1 reaction 0 assignees View on GitHub
enhancement
Dominant language
Go
Stars
4.4k
Forks
285
Avg merge
40m
Merged PRs (30d)
1

Description

Hello!

I'm facing a problem, I want to localize my application based on HUMA and for that I have to implement Registry, Schema and PathBuffer with almost identical logic in the validation part. Another solution is to disable HUMA validation altogether and implement something else. So my question is. Do you plan to implement internationalization in HUMA? Maybe you already have some thoughts on this and would be willing to share them so I can help you implement this feature. Or, conversely, why you don't want to do it. I think this feature would be awesome and am open to discussing it.

Best regards

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing Huma's validation components, especially Registry, Schema, and PathBuffer, to understand how validation errors are produced and where localization could fit. The issue does not define a language strategy, message sources, or acceptance criteria, so done would require an agreed internationalization design before implementation.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
api, backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.