[css-counter-styles] Language-dependent symbols #387
Labels
css-counter-styles-4
i18n-tracker
Group bringing to attention of Internationalization, or tracked by i18n but not needing response.
I’ve been fooling around with
@counter-style
lately (see repository, which is in an early stage of development). Maybe I’m abusing the technology there, but I think I’ve hit the limitations of thespeak-as
descriptor.For instance,
spell-out
makes absolute sense forelement-symbols
…… although one may be tempted to also provide an
element-names
counter style, which would be language-dependent. Withplanets
, however,speak-as: words
would be desired, but the Unicode Names for Venus and Mars default to ‘Female Symbol’ and ‘Male Symbol’, respectively, so we would need to define another, language-dependent style just for speech synthesis, i.e. we‘ll probably never use it:That’s of course now language dependent. It becomes even more apparent if we’re using astronomic symbols for the days of the week, where we’d want to be able to use something like
:lang()
:There are also ideas where we’d want no translation or change of pronunciation, e.g. international (military)
spelling
:With graphic symbols, whether from Unicode (or emoji) or image files, you’d almost always want to be able to specify an
alt
text, which may or may not have a fixed language.I’m not exactly sure what would be a better solution (e.g.
symbols: alt(url(image), '\1234', 'literal') …
), but if authors actually adopted@counter-style
, which is currently only available in Mozilla Firefox and Antenna House Formatter as far as I know, they would probably want to do even crazier things than I’ve done and then run into this problem.The text was updated successfully, but these errors were encountered: