In my professional life I ask my devs to get the locale from the browser
and use the tech stack to do the conversion automatically. Like JavaScript
.toLocaleString().

Don't know if that's feasible here.

On Wed, May 3, 2023, 8:07 AM [email protected] <[email protected]>
wrote:

> I need a hint how to handle formatting numbers (values) with
> internationalized skins. Specifying the language doesn't have an apparent
> effect on how values are formatted, it seems like number value formatting
> is connected to the systems (default?) locale. I even notice inconsistent
> results, for instance with the standard skin: temperature is formatted in
> another way than an alamnac value: in the specific case the temperature
> value is formatted with a comma as decimal separator, the almanac angle
> with a period as decimal separator.
>
> Is there a way to specifiy a locale to be used for a skin (or a translated
> skin)? [image: 2023-05-03 17_01_24.png]
>
> --
> You received this message because you are subscribed to the Google Groups
> "weewx-user" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-user/62429245-50ef-4f87-89ac-b8cb1b0d064en%40googlegroups.com
> <https://groups.google.com/d/msgid/weewx-user/62429245-50ef-4f87-89ac-b8cb1b0d064en%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/CAA1SM228CsEdfLvekjA2Q0z58yNmVU5aQhKQM3zf5L%3DdvF2pJg%40mail.gmail.com.

Reply via email to