Liferay:Language.properties的位置 [英] Liferay : Location of Language.properties

查看:65
本文介绍了Liferay:Language.properties的位置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在遵循文档中Liferay的学习路径.

I am following the learning path of Liferay in the docs.

我正在实现AlloyUI,但是由于

I am implementing the AlloyUI, However I got stocked because the

docroot/WEB-INF/src/content/Language.properties

位置,在我的 src 中没有 content 文件夹.

is nowhere to be found in my package explorer, I have no content folder in my src.

任何想法我在哪里都能找到?

Any idea where can I find this?

谢谢.

推荐答案

您没有提供太多上下文,但是content/Language.properties是Liferay中资源包的默认位置-可能您正在开发Portlet或一个钩子.当您说目录不存在时,您可以直接创建它.除了Java包,别无其他.然后在目录中创建Language.properties,您可以使用Liferay的LanguageBuilder创建其他语言文件(例如Language_de.properties).

You don't give a lot of context, but content/Language.properties is the default location for the resource bundles in Liferay - probably you're either developing a portlet or a hook. As you say that the directory is not there, you can just create it. It's nothing else but a java package. Then create Language.properties in the directory and you can use Liferay's LanguageBuilder to create the other language files (e.g. Language_de.properties).

这篇关于Liferay:Language.properties的位置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆