我如何在 html 的输入标签中使用 i18n 消息?例如:
<input type="text" name="username" placeholder="${message(code:'placeholder.username')}"
以多种语言显示占位符文本。
最佳答案
<input type="text" name="username" placeholder="${message(code: 'placeholder.username')}">
关于html - html 标签中的 Grails i18n 消息,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13072653/