Fixing translate 'widget' to use HTML5 data-* attributes for country code