Liferay 链接 - Langue 网页内容 - 如何获取链接语言的 url

发布于 2024-11-17 10:32:20 字数 239 浏览 2 评论 0原文

在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技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

挽梦忆笙歌 2024-11-24 10:32:20

这是我们可以找到的解决方案。

首先,此行为的常见模式是单击链接(锚点)时显示下载窗口。

我们将 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文