Open Pike opened 5 years ago
Right now, data-l10n-name is the only attribute that creates a named mapping between pre- and post-translation DOM.
data-l10n-name
Gijs mentioned the id attribute in https://github.com/zbraniecki/fluent-domoverlays-js/issues/13#issuecomment-478610457.
id
Filing an issue to open that up for discussion separately.
That sounds good. I was thinking of using class for that, to avoid the semantic meaning of id being document-scoped, but I'm not very strongly opinionated here.
class
Right now,
data-l10n-name
is the only attribute that creates a named mapping between pre- and post-translation DOM.Gijs mentioned the
id
attribute in https://github.com/zbraniecki/fluent-domoverlays-js/issues/13#issuecomment-478610457.Filing an issue to open that up for discussion separately.