go-chi/chi

[Doubt] Do you support i18n?

mahesh-riddles opened this issue · 4 comments

Do you have any middleware to support i18n?
What is the algorithm to make i18n

Thanks

hi, yes you can make i18n work with chi

Can you please share the doc for this? Thanks for the support.

hi, yes you can make i18n work with chi

I think there is no i18n module with go chi out of the box. I understand that I have to implement my own ..
Am I right?
I can't find anything related with i18n.

What you are already offering is really big work... thanks for that..

c2h5oh commented

@mahesh-riddles I think chi is quite a bit lower level than what you are looking for. It supports everything you'd need for i18n to work: all path matching is working on utf-8 strings, idn domains work, etc.

What it doesn't include out of the box is higher level i18n features, like automated redirects to url equivalent for another language or error message translation. Both of those things are possible and could be easily built on top of chi, but out of scope for the core package.