add data-locale attribute to locale tabs