多语言注释在 Xpages 中查看内容

发布于 2024-12-29 07:08:58 字数 636 浏览 3 评论 0原文

我已经实现了完整的 Xpages 应用程序宽度 > 200 Notes View..对于翻译,我使用 Xpages 设置中的本机选项“本地化选项”。

一切都工作得很好(现在可以将翻译写入-proprierties)

但是...

在某些注释视图中,我有一些列的内容,其中嵌入了原始语言的@Formulas字符串或Domino环境格式的字段日期(例如,@text(datfield;"S0") 返回意大利语格式 gg\mm\aaaa)

我可以将本机多语言数据库注释选项与位置选项功能混合使用吗?

使用本机 Notes 多语言数据库,是否需要复制设置正确语言的视图...但是 Xpages 在渲染对象 Notes 视图时支持此功能?

ps 对于本机 Notes 多语言,请阅读此 红皮书第 65 页

I have realized a full Xpages application width > 200 Notes View..and for translate I use the native option "Localization options" into Xpages settings.

All work very well (can now write the translation into -proprierties)

But...

In some Notes View I have the content of some column with embedded @Formulas string in the original language or the date of my field in the format of Domino enviroment (ex. there are @text(datfield;"S0") that return italian format gg\mm\aaaa)

Can I mix the native Multilanguage Database Notes Option with Locazations Options feature?

With native Notes Multilanguage database, is need duplicate the view setting the correct language... but Xpages support this feature when render the object Notes View?

p.s. For native Notes multi-language read this Redbook from page 65

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

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

评论(3

初见 2025-01-05 07:08:58

首先,我会尝试从您正在使用的视图中消除所有 @Text(datefield) 条目。这将允许 Xpage 应用程序中的笔记客户端和 ViewPanes 自动以正确的格式向应用程序的查看者显示日期。

不幸的是,根据我的测试,您似乎无法将本机多语言数据库选项与 XPages 本地化选项混合在一起。

First of all I would try to eliminate all the @Text(datefield) entries from the views that you are working with. This will allow the both the notes clients and the ViewPanes in your Xpage applications to automatically display the date in the correct format for the viewer of the application.

Unfortunately, from my testing, it appears that you cannot mix the native multilingual database options with the XPages localization options.

指尖凝香 2025-01-05 07:08:58

您不能混淆这两个选项,因为基于 Notes 的多语言数据库选项是 Notes 客户端体系结构的一部分。

如果我是您,我会为 XPage 应用程序创建单独的视图。同时(迁移阶段)这确实浪费了资源,但我认为这是最优化的方式。您可以根据需要重新设计视图,而不是遵循旧式视图。

例如,在 XPages 中,您不需要在索引内计算很多列。

对此没有很好的答案:(

You cannot mix up those two options, because Notes-based multilingual database option is a part of Notes Client architecture.

If I were you, I create seperate views for XPages application. It's really waste of resources in the mean time (migration phase) but it's the most optimized way I guess. Instead of conforming old-style views, you may redesign your views according to what you need.

For example, in XPages, you don't need many columns to be calculated within the index.

There is no great answer for that :(

潦草背影 2025-01-05 07:08:58
I have found that the only solution is a routine JS client insert into
*AfterPageLoad* event with **view.postScript**(Function JS client) 
and *AfterRestoreView* event with the same call **view.postScript**
 convert on.fly the content of my view.
I select the content DOM of my Notes view with dojo.query
I have found that the only solution is a routine JS client insert into
*AfterPageLoad* event with **view.postScript**(Function JS client) 
and *AfterRestoreView* event with the same call **view.postScript**
 convert on.fly the content of my view.
I select the content DOM of my Notes view with dojo.query
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文