Azure B2C自定义策略:如何为jurney UI头查找未记录的本地化字符串ID
我的用户jurnet中有以下技术配置文件,可生成如下所示的UI:Azure B2C自定义策略:如何为jurney UI头查找未记录的本地化字符串ID,azure,azure-ad-b2c,azure-ad-b2c-custom-policy,Azure,Azure Ad B2c,Azure Ad B2c Custom Policy,我的用户jurnet中有以下技术配置文件,可生成如下所示的UI: <TechnicalProfile Id="SelfAsserted-Select-MFA-Method"> <DisplayName>Allow user to choose their MFA Method</DisplayName> <Protocol Name="Proprietary" Handler="Web.TPEng
<TechnicalProfile Id="SelfAsserted-Select-MFA-Method">
<DisplayName>Allow user to choose their MFA Method</DisplayName>
<Protocol Name="Proprietary" Handler="Web.TPEngine.Providers.SelfAssertedAttributeProvider, Web.TPEngine, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" />
<Metadata>
<Item Key="ContentDefinitionReferenceId">api.selfasserted</Item>
</Metadata>
<OutputClaims>
<OutputClaim ClaimTypeReferenceId="extension_mfaByPhoneOrEmail" Required="true"/>
</OutputClaims>
</TechnicalProfile>
然而,这条信息在HTML中:
我通常在页面的
部分的脚本元素中找到本地化字符串。
它看起来像这样:
变量SA_字段={
“属性字段”:[
{
“用户体验输入类型”:“文本框”,
“用户输入类型”:“文本框”
}
]
};
变量内容={
“ver_success_screenreader_msg”:“电子邮件地址已验证。您现在可以继续。”,
“月”:“月”,
“版本但默认值”:“默认值”,
“ver_fail_server”:“验证您的电子邮件地址时遇到问题。请输入有效的电子邮件地址,然后重试。”,
“ver_intro_msg”:“需要验证。请单击发送按钮。”
};
那里的CONTENT
变量包含本地化字符串。
您也可以通过在浏览器控制台中键入
content
来查看其内容。这是一种很有前途的方法,但请查看我的更新。除了里面的文字外,我找不到那封信的任何痕迹。思想?
{
"ver_success_screenreader_msg": "E-mail address verified. You can now continue.",
"month": "Month",
"ver_but_default": "Default",
"ver_fail_server": "We are having trouble verifying your email address. Please enter a valid email address and try again.",
"ver_intro_msg": "Verification is necessary. Please click Send button.",
"ver_fail_throttled": "There have been too many requests to verify this email address. Please wait a while, then try again.",
"months": "January, February, March, April, May, June, July, August, September, October, November, December",
"ver_input": "Verification code",
"ver_fail_retry": "That code is incorrect. Please try again.",
"error_requiredFieldMissing": "A required field is missing. Please fill out all required fields and try again.",
"error_passwordEntryMismatch": "The password entry fields do not match. Please enter the same password in both fields and try again.",
"helplink_text": "What is this?",
"alert_yes": "Yes",
"ver_sent": "Verification code has been sent to:",
"verifying_blurb": "Please wait while we process your information.",
"ver_but_edit": "Change e-mail",
"ver_but_send": "Send verification code",
"ver_success_msg": "E-mail address verified. You can now continue.",
"cancel_message": "The user has cancelled entering self-asserted information",
"ver_incorrect_format": "Incorect format.",
"error_fieldIncorrect": "One or more fields are filled out incorrectly. Please check your entries and try again.",
"alert_message": "Are you sure that you want to cancel entering your details?",
"button_continue": "Continue",
"alert_title": "Cancel Entering Your Details",
"ver_fail_no_retry": "You've made too many incorrect attempts. Please try again later.",
"alert_no": "No",
"preloader_alt": "Please wait",
"ver_fail_code_expired": "That code is expired. Please request a new code.",
"button_cancel": "Cancel",
"ver_info_msg": "Verification code has been sent to your inbox. Please copy it to the input box below.",
"ver_but_verify": "Verify code",
"required_field": "This information is required.",
"ver_but_resend": "Send new code",
"initial_intro": "Please provide the following details.",
"year": "Year",
"day": "Day"
}