fabi1cazenave / webL10n

Client-side internationalization / localization library
http://fabi1cazenave.github.com/webL10n/
279 stars 71 forks source link

Referencing other data-* attributes #80

Open VipSaran opened 7 years ago

VipSaran commented 7 years ago

SemanticUI uses data-attributes for specifying tooltip/popup values. Example:

<div class="ui icon button" data-l10n-id="name" data-tooltip="Add users to your feed">
  <i class="add icon"></i>
</div>

I've tried setting up many variants in the ini file, like:

name.data-tooltip
name.data[tooltip]
name.dataTooltip

but the data-atrribute never is referenced.

Is this supported and, if not, could it be?

(Needless to say that other localizations, either of elements or of attributes, work fine.)