本地化字符串 IDLocalization string IDs

备注

在 Azure Active Directory B2C 中,custom policies 主要用于解决复杂方案。In Azure Active Directory B2C, custom policies are designed primarily to address complex scenarios. 大多数情况下,建议使用内置的用户流For most scenarios, we recommend that you use built-in user flows.

Localization 元素使你能够在用户旅程的策略中支持多个区域设置或语言。The Localization element enables you to support multiple locales or languages in the policy for the user journeys. 本文提供了可在策略中使用的本地化 ID 列表。This article provides the list of localization IDs that you can use in your policy. 若要熟悉 UI 本地化,请参阅本地化To get familiar with UI localization, see Localization.

注册或登录页面元素Sign-up or sign-in page elements

以下 ID 用于包含 api.signuporsignin ID 的内容定义。The following IDs are used for a content definition with an ID of api.signuporsignin.

IDID 默认值Default value
local_intro_emaillocal_intro_email 使用现有帐户登录Sign in with your existing account
logonIdentifier_emaillogonIdentifier_email 电子邮件地址Email Address
requiredField_emailrequiredField_email 请输入电子邮件地址Please enter your email
invalid_emailinvalid_email 请输入有效的电子邮件地址Please enter a valid email address
email_patternemail_pattern ^[a-zA-Z0-9.!#$%&'' +/=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+) $^[a-zA-Z0-9.!#$%&''+/=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)$
local_intro_usernamelocal_intro_username 使用用户名登录Sign in with your user name
logonIdentifier_usernamelogonIdentifier_username 用户名Username
requiredField_usernamerequiredField_username 请输入用户名Please enter your user name
passwordpassword 密码Password
requiredField_passwordrequiredField_password 请输入密码Please enter your password
invalid_passwordinvalid_password 你输入的密码格式不正确。The password you entered is not in the expected format.
forgotpassword_linkforgotpassword_link 忘记密码了?Forgot your password?
createaccount_introcreateaccount_intro 没有帐户?Don't have an account?
createaccount_linkcreateaccount_link 立即注册Sign up now
divider_titledivider_title OROR
cancel_messagecancel_message 用户忘记了密码The user has forgotten their password
button_signinbutton_signin 登录Sign-in
social_introsocial_intro 使用社交帐户登录Sign-in with your social account
remember_meremember_me 使我保持登录状态Keep me signed in
unknown_errorunknown_error 登录时遇到问题。We are having trouble signing you in. 请稍后再试。Try again later.

下面的示例演示如何在注册或登录页中使用某些用户界面元素:The following example shows the use of some of the user interface elements in the sign-up or sign-in page:

注册或登录页面 UX 元素

标识提供者的 ID 在用户旅程 ClaimsExchange 元素中配置。The ID of the identity providers is configured in the user journey ClaimsExchange element. 若要本地化标识提供者的标题,请将 ElementType 设置为 ClaimsProvider,同时将 StringId 设置为 ClaimsExchange 的 ID。To localize the title of the identity provider, the ElementType is set to ClaimsProvider, while the StringId is set to the ID of the ClaimsExchange.

<OrchestrationStep Order="2" Type="ClaimsExchange">
  <Preconditions>
    <Precondition Type="ClaimsExist" ExecuteActionsIf="true">
      <Value>objectId</Value>
      <Action>SkipThisOrchestrationStep</Action>
    </Precondition>
  </Preconditions>
  <ClaimsExchanges>
    <ClaimsExchange Id="SignUpWithLogonEmailExchange" TechnicalProfileReferenceId="LocalAccount" />
  </ClaimsExchanges>
</OrchestrationStep>

注册或登录错误消息Sign-up or sign-in error messages

IDID 默认值Default value
UserMessageIfInvalidPasswordUserMessageIfInvalidPassword 密码不正确。Your password is incorrect.
UserMessageIfClaimsPrincipalDoesNotExistUserMessageIfClaimsPrincipalDoesNotExist 似乎找不到你的帐户。We can't seem to find your account.
UserMessageIfOldPasswordUsedUserMessageIfOldPasswordUsed 你可能使用的是旧密码。Looks like you used an old password.
DefaultMessageDefaultMessage 无效的用户名或密码。Invalid username or password.
UserMessageIfUserAccountDisabledUserMessageIfUserAccountDisabled 帐户已锁定。Your account has been locked. 请联系支持人员解除锁定,然后重试。Contact your support person to unlock it, then try again.
UserMessageIfUserAccountLockedUserMessageIfUserAccountLocked 帐户暂时锁定以防止未经授权的使用。Your account is temporarily locked to prevent unauthorized use. 请稍后重试。Try again later.
AADRequestsThrottledAADRequestsThrottled 目前请求过多。There are too many requests at this moment. 请等待一段时间,然后重试。Wait for some time and try again.

注册和自断言页用户界面元素Sign-up and self-asserted pages user interface elements

以下是包含 api.localaccountsignup ID 的内容定义或任何以 api.selfasserted 开头的内容定义的 ID,如 api.selfasserted.profileupdateapi.localaccountpasswordresetThe following are the IDs for a content definition with an ID of api.localaccountsignup or any content definition that starts with api.selfasserted, such as api.selfasserted.profileupdate and api.localaccountpasswordreset.

IDID 默认值Default value
ver_sentver_sent 验证码已发送到:Verification code has been sent to:
ver_but_defaultver_but_default 默认Default
cancel_messagecancel_message 用户已取消输入自断言信息The user has canceled entering self-asserted information
preloader_altpreloader_alt 请稍候Please wait
ver_but_sendver_but_send 发送验证代码Send verification code
alert_yesalert_yes Yes
error_fieldIncorrecterror_fieldIncorrect 一个或多个字段填写不正确。One or more fields are filled out incorrectly. 请检查条目并重试。Check your entries and try again.
yearyear 年龄Year
verifying_blurbverifying_blurb 正在处理你的信息,请稍候。Please wait while we process your information.
button_cancelbutton_cancel 取消Cancel
ver_fail_no_retryver_fail_no_retry 你进行不正确尝试的次数过多。You've made too many incorrect attempts. 请稍后再试。Try again later.
monthmonth 月份Month
ver_success_msgver_success_msg 已验证电子邮件地址。E-mail address verified. 现在可以继续。You can now continue.
monthsmonths 一月、二月、三月、四月、五月、六月、七月、八月、九月、十月、十一月、十二月January, February, March, April, May, June, July, August, September, October, November, December
ver_fail_serverver_fail_server 我们无法验证你的电子邮件地址。We are having trouble verifying your email address. 请输入有效的电子邮件地址,然后重试。Enter a valid email address and try again.
error_requiredFieldMissingerror_requiredFieldMissing 缺少必填字段。A required field is missing. 请填写所有必填字段,然后重试。Fill out all required fields and try again.
initial_introinitial_intro 请提供以下详细信息。Please provide the following details.
ver_but_resendver_but_resend 发送新验证码Send new code
button_continuebutton_continue 创建Create
error_passwordEntryMismatcherror_passwordEntryMismatch 密码输入字段不一致。The password entry fields do not match. 请在这两个字段中输入相同密码,然后重试。Enter the same password in both fields and try again.
ver_incorrect_formatver_incorrect_format 格式错误。Incorrect format.
ver_but_editver_but_edit 更改电子邮件Change e-mail
ver_but_verifyver_but_verify 验证验证码Verify code
alert_noalert_no No
ver_info_msgver_info_msg 验证码已发送到收件箱。Verification code has been sent to your inbox. 请将其复制到下面的输入框。Copy it to the input box below.
dayday 日期Day
ver_fail_throttledver_fail_throttled 用于验证此电子邮件地址的请求过多。There have been too many requests to verify this email address. 请稍等片刻,然后重试。Wait a while, then try again.
helplink_texthelplink_text 这是什么?What is this?
ver_fail_retryver_fail_retry 验证码不正确。That code is incorrect. 重试。Try again.
alert_titlealert_title 取消输入详细信息Cancel Entering Your Details
required_fieldrequired_field 此信息是必需的。This information is required.
alert_messagealert_message 确实要取消输入详细信息吗?Are you sure that you want to cancel entering your details?
ver_intro_msgver_intro_msg 验证是必需的。Verification is necessary. 请单击“发送”按钮。Please click Send button.
ver_inputver_input 验证码Verification code

注册和自断言页错误消息Sign-up and self-asserted pages error messages

IDID 默认值Default value
UserMessageIfClaimsPrincipalAlreadyExistsUserMessageIfClaimsPrincipalAlreadyExists 已存在具有指定 ID 的用户。A user with the specified ID already exists. 请选择不同的 ID。Choose a different one.
UserMessageIfClaimNotVerifiedUserMessageIfClaimNotVerified 未验证声明: {0}Claim not verified: {0}
UserMessageIfIncorrectPatternUserMessageIfIncorrectPattern 模式错误: {0}Incorrect pattern for: {0}
UserMessageIfMissingRequiredElementUserMessageIfMissingRequiredElement 缺少必需的元素: {0}Missing required element: {0}
UserMessageIfValidationErrorUserMessageIfValidationError 验证错误: {0}Error in validation by: {0}
UserMessageIfInvalidInputUserMessageIfInvalidInput {0} 具有无效输入。{0} has invalid input.
ServiceThrottledServiceThrottled 目前请求过多。There are too many requests at this moment. 请等待一段时间,然后重试。Wait for some time and try again.

下面的示例演示如何在注册页中使用某些用户界面元素:The following example shows the use of some of the user interface elements in the sign-up page:

标记了其 UI 元素名称的注册页

下面的示例演示在用户单击“发送验证码”按钮后如何在注册页中使用某些用户界面元素:The following example shows the use of some of the user interface elements in the sign-up page, after user clicks on send verification code button:

注册页电子邮件验证 UX 元素

电话身份验证页用户界面元素Phone factor authentication page user interface elements

以下是包含 api.phonefactor ID 的内容定义的 ID。The Following are the IDs for a content definition with an ID of api.phonefactor.

IDID 默认值Default value
button_verifybutton_verify 致电我Call Me
country_code_labelcountry_code_label 国家/地区代码Country Code
cancel_messagecancel_message 用户已取消多重身份验证The user has canceled multi-factor authentication
text_button_send_second_codetext_button_send_second_code 发送新验证码send a new code
code_patterncode_pattern \d{6}\d{6}
intro_mixedintro_mixed 我们记录了以下号码。We have the following number on record for you. 我们能够发送短信验证码或致电来验证你的身份。We can send a code via SMS or phone to authenticate you.
intro_mixed_pintro_mixed_p 我们记录了以下号码。We have the following numbers on record for you. 选择一个号码,以便我们能够通过电话或发送短信验证码来验证你的身份。Choose a number that we can phone or send a code via SMS to authenticate you.
button_verify_codebutton_verify_code 验证验证码Verify Code
requiredField_coderequiredField_code 请输入收到的验证码Please enter the verification code you received
invalid_codeinvalid_code 请输入收到的 6 位验证码Please enter the 6-digit code you received
button_cancelbutton_cancel 取消Cancel
local_number_input_placeholder_textlocal_number_input_placeholder_text 电话号码Phone number
button_retrybutton_retry 重试Retry
alternative_textalternative_text 我没有电话I don't have my phone
intro_phone_pintro_phone_p 我们记录了以下号码。We have the following numbers on record for you. 选择一个号码,以便我们能够通过电话来验证你的身份。Choose a number that we can phone to authenticate you.
intro_phoneintro_phone 我们记录了以下号码。We have the following number on record for you. 我们将通过电话来验证你的身份。We will phone to authenticate you.
enter_code_text_introenter_code_text_intro 请在下面输入验证码,或Enter your verification code below, or
intro_entry_phoneintro_entry_phone 请在下面输入一个号码,以便我们能够通过电话来验证你的身份。Enter a number below that we can phone to authenticate you.
intro_entry_smsintro_entry_sms 请在下面输入一个号码,以便我们能够发送短信验证码来验证你的身份。Enter a number below that we can send a code via SMS to authenticate you.
button_send_codebutton_send_code 发送验证码Send Code
invalid_numberinvalid_number 请输入有效电话号码Please enter a valid phone number
intro_smsintro_sms 我们记录了以下号码。We have the following number on record for you. 我们将发送短信验证码来验证你的身份。We will send a code via SMS to authenticate you.
intro_entry_mixedintro_entry_mixed 请在下面输入一个号码,以便我们能够发送短信验证码或通过电话来验证你的身份。Enter a number below that we can send a code via SMS or phone to authenticate you.
number_patternnumber_pattern ^\+(?:[0-9][\x20-]?){6,14}[0-9]$^\+(?:[0-9][\x20-]?){6,14}[0-9]$
intro_sms_pintro_sms_p 我们记录了以下号码。We have the following numbers on record for you. 选择一个号码,以便我们能够发送短信验证码来验证你的身份。Choose a number that we can send a code via SMS to authenticate you.
requiredField_countryCoderequiredField_countryCode 请选择国家/地区代码Please select your country code
requiredField_numberrequiredField_number 请输入电话号码Please enter your phone number
country_code_input_placeholder_textcountry_code_input_placeholder_text 国家或地区Country or region
number_labelnumber_label 电话号码Phone Number
error_tryagainerror_tryagain 你提供的电话号码占线或不可用。The phone number you provided is busy or unavailable. 请检查号码并重试。Check the number and try again.
error_incorrect_codeerror_incorrect_code 你输入的验证码与我们的记录不一致。The verification code you have entered does not match our records. 请重试,或请求获取新验证码。Try again, or request a new code.
countryListcountryList 请参阅国家/地区列表See the countries list.
error_448error_448 你提供的电话号码打不通。The phone number you provided is unreachable.
error_449error_449 用户已超出重试次数上限。User has exceeded the number of retry attempts.
verification_code_input_placeholder_textverification_code_input_placeholder_text 验证码Verification code

下面的示例演示如何在 MFA 注册页中使用某些用户界面元素:The following example shows the use of some of the user interface elements in the MFA enrollment page:

注册页电子邮件验证 UX 元素

下面的示例演示如何在 MFA 验证页中使用某些用户界面元素:The following example shows the use of some of the user interface elements in the MFA validation page:

注册页电子邮件验证 UX 元素

验证显示控件用户界面元素Verification display control user interface elements

以下是验证显示控件的 IDThe following are the IDs for a Verification display control

IDID 默认值Default value
verification_control_but_change_claimsverification_control_but_change_claims 更改Change
verification_control_fail_send_codeverification_control_fail_send_code 无法发送代码,请稍后重试。Failed to send the code, try again later.
verification_control_fail_verify_codeverification_control_fail_verify_code 无法验证代码,请稍后重试。Failed to verify the code, try again later.
verification_control_but_send_codeverification_control_but_send_code 发送验证码Send Code
verification_control_but_send_new_codeverification_control_but_send_new_code 发送新代码Send New Code
verification_control_but_verify_codeverification_control_but_verify_code 验证验证码Verify Code
verification_control_code_sentverification_control_code_sent 已发送验证码。Verification code has been sent. 请将其复制到下面的输入框。Copy it to the input box below.

示例Example

<LocalizedResources Id="api.localaccountsignup.en">
  <LocalizedStrings>
    <LocalizedString ElementType="UxElement" StringId="verification_control_but_change_claims">Change</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="verification_control_fail_send_code">Failed to send the code, try again later.</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="verification_control_fail_verify_code">Failed to verify the code, try again later.</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="verification_control_but_send_code">Send Code</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="verification_control_but_send_new_code">Send New Code</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="verification_control_but_verify_code">Verify Code</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="verification_control_code_sent">Verification code has been sent. Copy it to the input box below.</LocalizedString>
  </LocalizedStrings>
</LocalizedResources>

Restful 服务错误消息Restful service error messages

以下是 Restful 服务技术配置文件错误消息的 ID:The following are the IDs for Restful service technical profile error messages:

IDID 默认值Default value
DefaultUserMessageIfRequestFailedDefaultUserMessageIfRequestFailed 未能建立与 Restful 服务终结点的连接。Failed to establish connection to restful service end point. Restful 服务 URL:{0}Restful service URL: {0}
UserMessageIfCircuitOpenUserMessageIfCircuitOpen {0}Restful 服务 URL:{1}{0} Restful Service URL: {1}
UserMessageIfDnsResolutionFailedUserMessageIfDnsResolutionFailed 未能解析 Restful 服务终结点的主机名。Failed to resolve the hostname of the restful service endpoint. Restful 服务 URL:{0}Restful service URL: {0}
UserMessageIfRequestTimeoutUserMessageIfRequestTimeout 未能在 {0} 秒的超时限制内建立与 Restful 服务终结点的连接。Failed to establish connection to restful service end point within timeout limit {0} seconds. Restful 服务 URL:{1}Restful service URL: {1}

示例Example

<LocalizedResources Id="api.localaccountsignup.en">
  <LocalizedStrings>
    <LocalizedString ElementType="ErrorMessage" StringId="DefaultUserMessageIfRequestFailed">Failed to establish connection to restful service end point.</LocalizedString>
    <LocalizedString ElementType="ErrorMessage" StringId="UserMessageIfCircuitOpen">Unable to connect to the restful service end point.</LocalizedString>
    <LocalizedString ElementType="ErrorMessage" StringId="UserMessageIfDnsResolutionFailed">Failed to resolve the hostname of the restful service endpoint.</LocalizedString>
    <LocalizedString ElementType="ErrorMessage" StringId="UserMessageIfRequestTimeout">Failed to establish connection to restful service end point within timeout limit.</LocalizedString>
  </LocalizedStrings>
</LocalizedResources>

Azure MFA 错误消息Azure MFA error messages

以下是 Azure MFA 技术配置文件错误消息的 ID:The following are the IDs for Azure MFA technical profile error messages:

IDID 默认值Default value
UserMessageIfCouldntSendSmsUserMessageIfCouldntSendSms 无法向手机发送短信,请尝试另一个电话号码。Cannot Send SMS to the phone, try another phone number.
UserMessageIfInvalidFormatUserMessageIfInvalidFormat 电话号码格式无效,请更正,然后重试。Your phone number is not in a valid format, please correct it and try again.
UserMessageIfMaxAllowedCodeRetryReachedUserMessageIfMaxAllowedCodeRetryReached 输入错误代码的次数过多,请稍后重试。Wrong code entered too many times, try again later.
UserMessageIfServerErrorUserMessageIfServerError 无法使用 MFA 服务,请稍后重试。Cannot use MFA service, try again later.
UserMessageIfThrottledUserMessageIfThrottled 请求被阻止,请稍后重试。Your request has been throttled, try again later.
UserMessageIfWrongCodeEnteredUserMessageIfWrongCodeEntered 输入的代码错误,请重试。Wrong code entered, try again.

示例Example

<LocalizedResources Id="api.localaccountsignup.en">
  <LocalizedStrings>
    <LocalizedString ElementType="ErrorMessage" StringId="UserMessageIfCouldntSendSms">Cannot Send SMS to the phone, try another phone number.</LocalizedString>
    <LocalizedString ElementType="ErrorMessage" StringId="UserMessageIfInvalidFormat">Your phone number is not in a valid format, please correct it and try again.</LocalizedString>
    <LocalizedString ElementType="ErrorMessage" StringId="UserMessageIfMaxAllowedCodeRetryReached">Wrong code entered too many times, try again later.</LocalizedString>
    <LocalizedString ElementType="ErrorMessage" StringId="UserMessageIfServerError">Cannot use MFA service, try again later.</LocalizedString>
    <LocalizedString ElementType="ErrorMessage" StringId="UserMessageIfThrottled">Your request has been throttled, try again later.</LocalizedString>
    <LocalizedString ElementType="ErrorMessage" StringId="UserMessageIfWrongCodeEntered">Wrong code entered, try again.</LocalizedString>
  </LocalizedStrings>
</LocalizedResources>

Azure AD SSPRAzure AD SSPR

以下是 Azure AD SSPR 技术配置文件错误消息的 ID:The following are the IDs for Azure AD SSPR technical profile error messages:

IDID 默认值Default value
UserMessageIfChallengeExpiredUserMessageIfChallengeExpired 代码已过期。The code has expired.
UserMessageIfInternalErrorUserMessageIfInternalError 电子邮件服务遇到内部错误,请稍后重试。The email service has encountered an internal error, try again later.
UserMessageIfThrottledUserMessageIfThrottled 你发送的请求过多,请稍后重试。You have sent too many requests, try again later.
UserMessageIfVerificationFailedNoRetryUserMessageIfVerificationFailedNoRetry 已超过最大的验证尝试次数。You have exceeded maximum number of verification attempts.
UserMessageIfVerificationFailedRetryAllowedUserMessageIfVerificationFailedRetryAllowed 验证失败,请重试。The verification has failed, try again.

示例Example

<LocalizedResources Id="api.localaccountsignup.en">
  <LocalizedStrings>
    <LocalizedString ElementType="ErrorMessage" StringId="UserMessageIfInternalError">We are having trouble verifying your email address. Please try again later.</LocalizedString>
    <LocalizedString ElementType="ErrorMessage" StringId="UserMessageIfThrottled">There have been too many requests to verify this email address. Please wait a while, then try again.</LocalizedString>
    <LocalizedString ElementType="ErrorMessage" StringId="UserMessageIfChallengeExpired">That code is expired. Please request a new code.</LocalizedString>
    <LocalizedString ElementType="ErrorMessage" StringId="UserMessageIfVerificationFailedNoRetry">You've made too many incorrect attempts. Please try again later.</LocalizedString>
    <LocalizedString ElementType="ErrorMessage" StringId="UserMessageIfVerificationFailedRetryAllowed">That code is incorrect. Please try again.</LocalizedString>
  </LocalizedStrings>
</LocalizedResources>

一次性密码错误消息One time password error messages

以下是一次性密码技术配置文件错误消息的 IDThe following are the IDs for a one-time password technical profile error messages

IDID 默认值Default value
UserMessageIfMaxRetryAttemptedUserMessageIfMaxRetryAttempted 一次性密码提供的验证已超过最大尝试次数One time password provided verification has exceeded maximum number of attempts
UserMessageIfSessionDoesNotExistUserMessageIfSessionDoesNotExist 一次性密码验证会话已过期One time password verification session has expired
UserMessageIfSessionConflictUserMessageIfSessionConflict 一次性密码验证会话存在冲突One time password verification session has conflict
UserMessageIfInvalidCodeUserMessageIfInvalidCode 所提供的用于验证的一次性密码不正确One time password provided for verification is incorrect
UserMessageIfVerificationFailedRetryAllowedUserMessageIfVerificationFailedRetryAllowed 验证码不正确。That code is incorrect. 请重试。Please try again.

示例Example

<LocalizedResources Id="api.localaccountsignup.en">
  <LocalizedStrings>
    <LocalizedString ElementType="ErrorMessage" StringId="UserMessageIfSessionDoesNotExist">You have exceed the maximum time allowed.</LocalizedString>
    <LocalizedString ElementType="ErrorMessage" StringId="UserMessageIfMaxRetryAttempted">You have exceed the number of retries allowed.</LocalizedString>
    <LocalizedString ElementType="ErrorMessage" StringId="UserMessageIfInvalidCode">You have entered the wrong code.</LocalizedString>
    <LocalizedString ElementType="ErrorMessage" StringId="UserMessageIfSessionConflict">Cannot verify the code, please try again later.</LocalizedString>
   <LocalizedString ElementType="ErrorMessage" StringId="UserMessageIfVerificationFailedRetryAllowed">That code is incorrect. Please try again.</LocalizedString>
  </LocalizedStrings>
</LocalizedResources>

声明转换错误消息Claims transformations error messages

以下是声明转换错误消息的 ID:The following are the IDs for claims transformations error messages:

IDID 声明转换Claims transformation 默认值Default value
UserMessageIfClaimsTransformationBooleanValueIsNotEqualUserMessageIfClaimsTransformationBooleanValueIsNotEqual AssertBooleanClaimIsEqualToValueAssertBooleanClaimIsEqualToValue 声明类型“inputClaim”的布尔声明值比较失败。Boolean claim value comparison failed for claim type "inputClaim".
DateTimeGreaterThanDateTimeGreaterThan AssertDateTimeIsGreaterThanAssertDateTimeIsGreaterThan 声明值比较失败:提供的左操作数大于右操作数。Claim value comparison failed: The provided left operand is greater than the right operand.
UserMessageIfClaimsTransformationStringsAreNotEqualUserMessageIfClaimsTransformationStringsAreNotEqual AssertStringClaimsAreEqualAssertStringClaimsAreEqual 使用 StringComparison“OrdinalIgnoreCase”的声明值比较失败。Claim value comparison failed using StringComparison "OrdinalIgnoreCase".

示例Example

<LocalizedResources Id="api.localaccountsignup.en">
  <LocalizedStrings>
    <LocalizedString ElementType="ErrorMessage" StringId="UserMessageIfClaimsTransformationBooleanValueIsNotEqual">Your email address hasn't been verified.</LocalizedString>
    <LocalizedString ElementType="ErrorMessage" StringId="DateTimeGreaterThan">Expiration date must be greater that the current date.</LocalizedString>
    <LocalizedString ElementType="ErrorMessage" StringId="UserMessageIfClaimsTransformationStringsAreNotEqual">The email entry fields do not match. Please enter the same email address in both fields and try again.</LocalizedString>
  </LocalizedStrings>
</LocalizedResources>

国家/地区列表Countries list

以下是多重身份验证使用的 countryList 值。The following are the countryList values used by multi-factor authentication.

{"DEFAULT":"Country/Region","AF":"Afghanistan","AX":"Åland Islands","AL":"Albania","DZ":"Algeria","AS":"American Samoa","AD":"Andorra","AO":"Angola","AI":"Anguilla","AQ":"Antarctica","AG":"Antigua and Barbuda","AR":"Argentina","AM":"Armenia","AW":"Aruba","AU":"Australia","AT":"Austria","AZ":"Azerbaijan","BS":"Bahamas","BH":"Bahrain","BD":"Bangladesh","BB":"Barbados","BY":"Belarus","BE":"Belgium","BZ":"Belize","BJ":"Benin","BM":"Bermuda","BT":"Bhutan","BO":"Bolivia","BQ":"Bonaire","BA":"Bosnia and Herzegovina","BW":"Botswana","BV":"Bouvet Island","BR":"Brazil","IO":"British Indian Ocean Territory","VG":"British Virgin Islands","BN":"Brunei","BG":"Bulgaria","BF":"Burkina Faso","BI":"Burundi","CV":"Cabo Verde","KH":"Cambodia","CM":"Cameroon","CA":"Canada","KY":"Cayman Islands","CF":"Central African Republic","TD":"Chad","CL":"Chile","CN":"China","CX":"Christmas Island","CC":"Cocos (Keeling) Islands","CO":"Colombia","KM":"Comoros","CG":"Congo","CD":"Congo (DRC)","CK":"Cook Islands","CR":"Costa Rica","CI":"Côte d'Ivoire","HR":"Croatia","CU":"Cuba","CW":"Curaçao","CY":"Cyprus","CZ":"Czech Republic","DK":"Denmark","DJ":"Djibouti","DM":"Dominica","DO":"Dominican Republic","EC":"Ecuador","EG":"Egypt","SV":"El Salvador","GQ":"Equatorial Guinea","ER":"Eritrea","EE":"Estonia","ET":"Ethiopia","FK":"Falkland Islands","FO":"Faroe Islands","FJ":"Fiji","FI":"Finland","FR":"France","GF":"French Guiana","PF":"French Polynesia","TF":"French Southern Territories","GA":"Gabon","GM":"Gambia","GE":"Georgia","DE":"Germany","GH":"Ghana","GI":"Gibraltar","GR":"Greece","GL":"Greenland","GD":"Grenada","GP":"Guadeloupe","GU":"Guam","GT":"Guatemala","GG":"Guernsey","GN":"Guinea","GW":"Guinea-Bissau","GY":"Guyana","HT":"Haiti","HM":"Heard Island and McDonald Islands","HN":"Honduras","HK":"Hong Kong SAR","HU":"Hungary","IS":"Iceland","IN":"India","ID":"Indonesia","IR":"Iran","IQ":"Iraq","IE":"Ireland","IM":"Isle of Man","IL":"Israel","IT":"Italy","JM":"Jamaica","JP":"Japan","JE":"Jersey","JO":"Jordan","KZ":"Kazakhstan","KE":"Kenya","KI":"Kiribati","KR":"Korea","KW":"Kuwait","KG":"Kyrgyzstan","LA":"Laos","LV":"Latvia","LB":"Lebanon","LS":"Lesotho","LR":"Liberia","LY":"Libya","LI":"Liechtenstein","LT":"Lithuania","LU":"Luxembourg","MO":"Macao SAR","MK":"North Macedonia","MG":"Madagascar","MW":"Malawi","MY":"Malaysia","MV":"Maldives","ML":"Mali","MT":"Malta","MH":"Marshall Islands","MQ":"Martinique","MR":"Mauritania","MU":"Mauritius","YT":"Mayotte","MX":"Mexico","FM":"Micronesia","MD":"Moldova","MC":"Monaco","MN":"Mongolia","ME":"Montenegro","MS":"Montserrat","MA":"Morocco","MZ":"Mozambique","MM":"Myanmar","NA":"Namibia","NR":"Nauru","NP":"Nepal","NL":"Netherlands","NC":"New Caledonia","NZ":"New Zealand","NI":"Nicaragua","NE":"Niger","NG":"Nigeria","NU":"Niue","NF":"Norfolk Island","KP":"North Korea","MP":"Northern Mariana Islands","NO":"Norway","OM":"Oman","PK":"Pakistan","PW":"Palau","PS":"Palestinian Authority","PA":"Panama","PG":"Papua New Guinea","PY":"Paraguay","PE":"Peru","PH":"Philippines","PN":"Pitcairn Islands","PL":"Poland","PT":"Portugal","PR":"Puerto Rico","QA":"Qatar","RE":"Réunion","RO":"Romania","RU":"Russia","RW":"Rwanda","BL":"Saint Barthélemy","KN":"Saint Kitts and Nevis","LC":"Saint Lucia","MF":"Saint Martin","PM":"Saint Pierre and Miquelon","VC":"Saint Vincent and the Grenadines","WS":"Samoa","SM":"San Marino","ST":"São Tomé and Príncipe","SA":"Saudi Arabia","SN":"Senegal","RS":"Serbia","SC":"Seychelles","SL":"Sierra Leone","SG":"Singapore","SX":"Sint Maarten","SK":"Slovakia","SI":"Slovenia","SB":"Solomon Islands","SO":"Somalia","ZA":"South Africa","GS":"South Georgia and South Sandwich Islands","SS":"South Sudan","ES":"Spain","LK":"Sri Lanka","SH":"St Helena, Ascension, Tristan da Cunha","SD":"Sudan","SR":"Suriname","SJ":"Svalbard","SZ":"Swaziland","SE":"Sweden","CH":"Switzerland","SY":"Syria","TW":"Taiwan","TJ":"Tajikistan","TZ":"Tanzania","TH":"Thailand","TL":"Timor-Leste","TG":"Togo","TK":"Tokelau","TO":"Tonga","TT":"Trinidad and Tobago","TN":"Tunisia","TR":"Turkey","TM":"Turkmenistan","TC":"Turks and Caicos Islands","TV":"Tuvalu","UM":"U.S. Outlying Islands","VI":"U.S. Virgin Islands","UG":"Uganda","UA":"Ukraine","AE":"United Arab Emirates","GB":"United Kingdom","US":"United States","UY":"Uruguay","UZ":"Uzbekistan","VU":"Vanuatu","VA":"Vatican City","VE":"Venezuela","VN":"Vietnam","WF":"Wallis and Futuna","YE":"Yemen","ZM":"Zambia","ZW":"Zimbabwe"}

后续步骤Next steps

有关本地化示例,请参阅以下文章:See the following articles for localization examples: