add the attr mixin for localised settings