inject attribute variable into buttons translation