【发布时间】:2021-05-02 15:45:42
【问题描述】:
我已为我的登录页面流程选择了 pt-Br 语言自定义,但某些元素未正确翻译(或未翻译),然后我上传了一个覆盖文件,其中包含有效的电子邮件声明显示名称,但密码字段 (requiredField_password ) 不尊重被覆盖的值。
阅读有关 Microsoft 文档的更多信息,我无法在 Customize the user interface in Azure Active Directory B2C、Language customization in Azure Active Directory B2C 中找到有关更改密码占位符/文本的任何参考。
此文档Localization string IDs 提到您只能在页面布局版本“
最大的问题是,是否可以将密码字段占位符/文本更改为英语以外的其他语言?
政策 XML(缩写)
<Localization Enabled="true">
<SupportedLanguages DefaultLanguage="pt-BR" MergeBehavior="ReplaceAll">
<SupportedLanguage>pt-BR</SupportedLanguage>
</SupportedLanguages>
<LocalizedResources Id="api.signin.pt-BR.rp">
<LocalizedStrings>
<LocalizedString ElementType="ClaimType" ElementId="email" StringId="DisplayName">Email</LocalizedString>
<LocalizedString ElementType="ClaimType" ElementId="email" StringId="UserHelpText">Email que pode ser usado para entrar em contato com você.</LocalizedString>
<LocalizedString ElementType="UxElement" StringId="requiredField_password">Senha</LocalizedString>
</LocalizedStrings>
</LocalizedResources>
</Localization>
【问题讨论】:
标签: azure azure-ad-b2c azure-ad-b2c-custom-policy