Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature: localization #47

Open
heilmela opened this issue Aug 11, 2023 · 5 comments
Open

feature: localization #47

heilmela opened this issue Aug 11, 2023 · 5 comments

Comments

@heilmela
Copy link

heilmela commented Aug 11, 2023

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

@greenpau
Copy link
Owner

@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.

@gedw99
Copy link

gedw99 commented Nov 9, 2023

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 ?

@heilmela
Copy link
Author

heilmela commented Nov 9, 2023

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.

@greenpau
Copy link
Owner

greenpau commented Nov 9, 2023

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!

@gedw99
Copy link

gedw99 commented Nov 9, 2023

Cheers - let me have a go .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants