XPage: Customize/Localize 默认验证错误消息(此字段不是有效整数)
XPage: Customize/Localize default validation error message (This field is not a valid integer)
是否有内部 XPage 方法来 customize/localize 默认验证消息,例如:
This field is not a valid integer
我一直假设文本取决于浏览器语言并且应该以不同的语言显示相同的内容,但是,最近有人指出这不是真的。
只是想了解是否有XPage方式,如果没有可以切换到其他方式。
如有任何建议,我们将不胜感激。
编辑 1:另外,扩展库控件似乎无法翻译消息。只是为了更好地理解快照。
在您的 Domino 服务器上安装语言包。 IBM 声明它翻译验证消息:
Similarly if you choose to make a field required and do not provide
your own error message, a translated message is provided by the
server. The context locale is used to determine which translation of
the message is displayed.
关于我找到的对话框 this solution。
是否有内部 XPage 方法来 customize/localize 默认验证消息,例如:
This field is not a valid integer
我一直假设文本取决于浏览器语言并且应该以不同的语言显示相同的内容,但是,最近有人指出这不是真的。
只是想了解是否有XPage方式,如果没有可以切换到其他方式。
如有任何建议,我们将不胜感激。
编辑 1:另外,扩展库控件似乎无法翻译消息。只是为了更好地理解快照。
在您的 Domino 服务器上安装语言包。 IBM 声明它翻译验证消息:
Similarly if you choose to make a field required and do not provide your own error message, a translated message is provided by the server. The context locale is used to determine which translation of the message is displayed.
关于我找到的对话框 this solution。