Best way to manage units conversion with internationalisation #1172
Unanswered
joeblew999
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
https://github.com/a-h/templ/blob/main/examples/internationalization/main.go
Looks good , but I was wondering how we are doing unit conversions .
A simple example is date , where you convert the date to the representation for that locale.
Currency , temperature etc etc are other related examples.
I have a few ideas like using https://github.com/gonum/gonum/tree/master/unit but wanted to ask the crowd to see what is best .
Beta Was this translation helpful? Give feedback.
All reactions