本地化自定义
可以将 Web 内容本地化为英语以外的语言。 当你在本地化时,请注意以下事项。
自定义内容后,将优先该自定义;因此,你应该为你想要支持的所有语言进行自定义。 所有自定义的内容都使用区域设置参数。 在配置本地化内容时,应首先配置不带有国家/地区的区域设置,例如“en”,然后再配置国家/地区和特定于区域的区域设置,例如“en-us”。
下面显示了一些其他代码示例。
Set-AdfsWebTheme -TargetName default -Logo @{Locale="";Path="c:\contoso.png"}
Set-AdfsWebTheme -TargetName default -Illustration @{Locale="";Path="c:\illustration.png"}
下面显示了一些其他代码示例。
Set-AdfsGlobalWebContent -ErrorPageDescriptionText "This is Contoso's error page description" –locale "en"
Set-AdfsGlobalWebContent -ErrorPageDescriptionText "Il s'agit de description de page erreur de Contoso" –locale "fr"
如果你想要将需要 Unicode 输入的 Web 内容自定义为英语之外的其他语言,我们建议你使用 Windows PowerShell ISE。 有关其他信息,请参阅 Windows PowerShell ISE 简介。