Using

data-i18n="content.mytranslation"

The translation goes to the end of ">" of the button.

How can I translate the button value?

有帮助吗?

解决方案

You can use data-i18n="[value]content.mytranslation" to insert value in button. You can change any element attribute using "[" "]"

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top