Skip to content

IFrame 组件 嵌套网页--加一个参数用于设置首选语言(达到UI与嵌套的网页语言一致) #3667

Answered by dotnetstd
dotnetstd asked this question in Q&A
Discussion options

You must be logged in to vote

微软官网了解到这个参数(ApplyCurrentCultureToResponseHeaders)设为true后嵌入组件中的页面可以跟随主站的语言自动切换

Program.cs 添加属性后发布

将网站挂在IIS上模拟测试
测试结果图示 繁体

测试结果图示 简体

测试结果图示 英文

此问题已解决,感谢大佬的提示!

Replies: 3 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@ArgoZhang
Comment options

@dotnetstd
Comment options

@densen2014
Comment options

@dotnetstd
Comment options

Answer selected by dotnetstd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
enhancement New feature or request
3 participants
Converted from issue

This discussion was converted from issue #3666 on June 15, 2024 14:02.