本地化自定义Customization for Localization

可以将 Web 内容本地化为英语以外的语言。Localizing web content into languages other than English is possible. 当你在本地化时,请注意以下事项。Be aware of the following considerations when you localize.

自定义内容后,将优先该自定义;因此,你应该为你想要支持的所有语言进行自定义。After the content is customized, the customization takes precedence; therefore, you should customize for all languages that you want to support. 所有自定义的内容都使用区域设置参数。All customized content takes a locale parameter. 在配置本地化内容时,请先使用国家/地区的 - 区域设置,例如 "en",然后再配置国家和地区特定的 - 区域设置,例如 "en-us" - 。When you configure localized content, configure it with a country-less locale first, for example, "en", before you configure a country and region-specific locale such as "en-us".

下面显示了一些其他代码示例。The following shows some additional code examples.

Set-AdfsWebTheme -TargetName default -Logo @{Locale="";Path="c:\contoso.png"}
Set-AdfsWebTheme -TargetName default -Illustration @{Locale="";Path="c:\illustration.png"}

下面显示了一些其他代码示例。The following shows some additional code examples.

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"

如果要将 web 内容自定义为英语之外的其他语言,则建议使用 Windows PowerShell ISE。If you want to customize the web content to languages other than English that requires the input of Unicode, we recommend that you use the Windows PowerShell ISE. 有关其他信息,请参阅介绍 Windows PowerShell ISEFor additional information see Introducing the Windows PowerShell ISE.

其他参考Additional references

AD FS 用户登录自定义AD FS User Sign-in Customization