Added dynamic button api with localization