Re: [csswg-drafts] [css-counter-styles-3] Support automatically localized counters (#7959)

A few thoughts:

* generally counter styles is considered locale data. Also, unless specify a modifier in the locale (such as using the U extension in CLDR) you get the arabic/western digits by default.
* mapping of language to counter style can be non-trivial, there may be a ne to many match. For instance Sorani Kurdish can use either of two number systems (depending on whether it is Iraq and Iran) and if the Sorani pages are external to that country, it is really a developer choice. 
* Different developers will want to make different choices. Some developers will want to use native digits for counters, others if they are using Arabic/western digits in the page for data may choose to use the same number system for counters rather than using different number systems within a page.

If I am working with Hindi data and I require Devanagari digits when programming I have to use the language identifier hi-IN-u-nu-deva when working with the data.

Personally, I would refer the developer specifying the counter (as is currently the practice) or having browsers switch counter systems if the language tag specifies a number system to use.

-- 
GitHub Notification of comment by andjc
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7959#issuecomment-1592298287 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Thursday, 15 June 2023 03:33:56 UTC