CUBA框架,系统自带的菜单怎么翻译,以及改怎么隐藏一些菜单?

image

你好,欢迎加入社区!

关于本地化的文档在这里
针对你这个需求,可以在下面的主文件中添加
image

menu-config.screenProfiler=页面分析
com.haulmont.cuba.web.app.core.screenprofiler/screenProfiler.window.caption=页面分析
com.haulmont.cuba.web.app.core.screenprofiler/timeThreshold=时间阈值(毫秒)
com.haulmont.cuba.web.app.core.screenprofiler/users=用户
com.haulmont.cuba.web.app.core.screenprofiler/activateProfiling=启用分析
com.haulmont.cuba.web.app.core.screenprofiler/deactivateProfiling=停用分析
com.haulmont.cuba.web.app.core.screenprofiler/clearResults=清除结果
com.haulmont.cuba.web.app.core.screenprofiler/refreshEvents=刷新事件

隐藏菜单的方法,建议通过角色配置。具体配置方法请参考手册这页最后面部分

国际化已经配置成功,菜单隐藏方法我研究下,多谢提供帮助。

你好,还有个问题,页面菜单已经国际化,但表格中的列在哪里国际化,我试着在同文件夹下翻译,但失败了
image

这个是实体属性的本地化

可以类似这样修改:

com.haulmont.cuba.core.entity/ScreenProfilerEvent.eventTs=时间

好的,感谢回复