Liferay 链接 - Langue 网页内容 - 如何获取链接语言的 url
在liferay中输入代码在liferay中创建了一个处理语言问题的网页内容,我没有使用它,我放置了一个img并想将其链接到一种语言,有2个图像,用于2种langhuae阿拉伯语和英语,但我不知道是此内容的链接,例如:
<a-href="????"><img srr="..."></a>
我在哪里可以获得将我附加到所需语言的网址... 问候
enter code hereIn liferay there is a web content created that handle the Language issue , i didnt used it , i putted an img and want to link it to a language , with 2 images , for 2 langhuae Arabic and english, but what i dont know is the link to this content, as:
<a-href="????"><img srr="..."></a>
where can i get the url that attach me to the needed language...
regards
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
![扫码二维码加入Web技术交流群](/public/img/jiaqun_03.jpg)
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这是我们可以找到的解决方案。
首先,此行为的常见模式是单击链接(锚点)时显示下载窗口。
我们将 href 地址从“/web/guest/page-name”之类的内容更改为“/en/web/guest/page-name”(英语)和“/esp/web/guest/page-name”(英语)之类的内容阿拉伯。
Well here is the solution we could found.
First of all, the common pattern for this behavior is that the download window was shown when a link was clicked (an anchor).
We changed our href addresses from something like "/web/guest/page-name" to something like "/en/web/guest/page-name" for english, and "/esp/web/guest/page-name" for Arabic.