当尝试创建一个i18n插件时:
roo > addon创建i18n --topLevelPackage com.gilles.photos.addon --locale messageBundle i18n/messages_ic.properties
我收到这样的信息:
Command 'addon create i18n --topLevelPackage com.gilles.photos.addon --locale ic --messageBundle i18n/messages_ic.properties' was found but is not currently available (type 'help' then ENTER to learn about this command)我试着遵循这个帖子的命令:http://forum.springsource.org/showthread.php?101843-addon-create-i18n-does-not-work
这家伙的建议对我来说是不透明的。他所说的是什么意思:
需要在空目录中运行addon create命令。
网上没有明确的答案。
发布于 2011-05-14 18:43:58
你到底想做什么?若要安装对给定语言的支持,请使用
web mvc install language --code it其中it是语言的代码。"Roo目前支持六种语言,您可以为您选择的其他语言编写一种附加语言“--截至2011年2月。您正在尝试的命令应该是为一种尚未被支持的语言创建一个副词。(我不认为这是你的意图)
编辑后的问题澄清:
见roo文档,A.5.2节。你要做的是
addon create i18n --topLevelPackage foo.bar --locale ic --messageBundle i18n/messages_ic.propertieshttps://stackoverflow.com/questions/6002780
复制相似问题