go-authcrunch icon indicating copy to clipboard operation
go-authcrunch copied to clipboard

feature: localization

Open heilmela opened this issue 1 year ago • 5 comments

Im interested in using caddy in some user facing apps, which would require localization of the ui.

I would start on a PR if you'll provide some input which approach is acceptable. I would suggest to add either client side localization with data-translate (vanilla) or i18n lib.

Or on the go templating side with something like vorlif/spreak

heilmela avatar Aug 11 '23 07:08 heilmela

@heilmela , thank you for the issue! Please propose the approach. Generally, I prefer stdlib stuff and don’t like too many external dependencies.

If you want to have meet call to discuss your approach, I am open to that. Just reach out on LinkedIn to coordinate.

greenpau avatar Aug 13 '23 23:08 greenpau

https://github.com/vorlif/spreak

and

https://github.com/vorlif/xspreak

Add Security has languages touch points if a few places, so then maybe these generic extraction tool fits the needs ?

@greenpau Its actually really good because it can do extraction from golang and also from go html templates which I believe you use ?

gedw99 avatar Nov 09 '23 15:11 gedw99

After having a quick chat with @greenpau i settled on not adding any dependencies and stick with the stdlib. However, due to an impending release deadline which has demanded my full attention, I've hit a roadblock. Should anyone be able to address this issue in my stead, your contribution would be greatly appreciated. I aim to revisit this matter once my schedule becomes more manageable.

heilmela avatar Nov 09 '23 15:11 heilmela

Its actually really good because it can do extraction from golang and also from go html templates which I believe you use ?

@gedw99 , looks good!

greenpau avatar Nov 09 '23 18:11 greenpau

Cheers - let me have a go .

gedw99 avatar Nov 09 '23 18:11 gedw99