与freemaker的替代和
不知道是不是只能是Label的控件。
在yabe\conf\messages中加入需要转换的字符串
play会自动将页面显示的字符进行替换
- # You can specialize this file for each language.
- # For example, for French create a messages.fr file
- #
- title=Title
- content=Content
- postedAt=Posted at
- author=Author
- post=Related post
本文探讨了如何使用 Freemarker 替代方案,并介绍了如何在 Yabe 的 messages 文件中添加国际化字符串,实现页面字符自动替换。
1270

被折叠的 条评论
为什么被折叠?



