将用户为应用程序选择的语言与 OLAP 数据库中的相应翻译相关联
这是我的问题:我有一个多语言 SharePoint 应用程序,并且该应用程序中有 PerformancePoint 报告。在我的 OLAP 数据库中,我为应用程序使用的相应语言的维度和多维数据集成员设置了 3 种翻译。 我的问题是 - 如何从应用程序中所选语言的 OLAP 多维数据集中检索(选择)内容。我不知道如何将应用程序中选定的语言与 OLAP 数据库中的可用翻译关联起来。 我们将非常感谢您的帮助。
Here is my problem: I have a multilingual SharePoint application and I have PerformancePoint reports in that application. In my OLAP database I have set up 3 translations for the dimension's and cube members for the corresponding languages that the application uses.
My question is - how do I retrieve (select) the content from the OLAP cube for the selected language in the application. I don't know how to associate the selected language in the application with the available translations in my OLAP database.
Your help will be very appreciated.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我找到了自己问题的答案,因此我将其分享给其他需要它的人 - 用户的语言选择和 OLAP 数据库中相应翻译之间的连接是通过 PPS 数据源的连接字符串完成的。连接字符串应如下所示:
“Data Source=localhost;Initial Catalog=AdventureWorksDW;Locale Identifier=LCID;”
其中 LCID 是区域设置 ID。您可以在此处找到所有语言的 LCID 列表:http:// /support.microsoft.com/default.aspx?scid=kb;en-us;221435
因此,例如,如果用户在应用程序中选择了马其顿语言,则 PPS 数据源的连接字符串应为:
“数据源=localhost;初始目录=AdventureWorksDW;区域设置标识符=1071;"
I found the answer on my own question so I'll share it for others that need it - the connection between the language selection of the user and the corresponding translation in the OLAP database is done with the connection string of the PPS data source. The connection string should look something like this:
"Data Source=localhost;Initial Catalog=AdventureWorksDW;Locale Identifier=LCID;"
where LCID is the Locale ID. List of LCIDs for all the languages you can find here: http://support.microsoft.com/default.aspx?scid=kb;en-us;221435
So for example if the user has selected Macedonian language in the application, the connection string of the PPS data source should be:
"Data Source=localhost;Initial Catalog=AdventureWorksDW;Locale Identifier=1071;"