ローカライズ文字列 ID

注意

Azure Active Directory B2C で、カスタム ポリシーは、主に、複雑なシナリオに取り組む用途向けに設計されています。 ほとんどのシナリオで、組み込みユーザー フローを使用することをお勧めします。 まだ行っていない場合は、Active Directory B2C でのカスタム ポリシーの概要に関する記事で、カスタム ポリシー スターター パックの詳細を確認してください。

ローカリゼーション要素を使用すると、ユーザー体験に関するポリシーで複数のロケールまたは言語をサポートできます。 この記事では、ポリシーで使用できるローカリゼーション ID の一覧を示します。 UI ローカライズの詳細については、ローカライズに関するページを参照してください。

サインアップ ページまたはサインイン ページの要素

次の ID は、api.signuporsignin の ID を持つコンテンツ定義と、セルフアサート技術プロファイルに使用されます。

id 既定値 ページ レイアウト バージョン
forgotpassword_link パスワードを忘れた場合 All
createaccount_intro アカウントをお持ちでない場合は、 All
button_signin サインイン All
social_intro 自分のソーシャル アカウントでサインイン All
remember_me サインインしたままにする。 All
unknown_error サインイン中に問題が発生しています。 後で再度お試しください。 All
divider_title OR All
local_intro_email 自分の既存のアカウントでサインイン < 2.0.0
logonIdentifier_email 電子メール アドレス < 2.0.0
requiredField_email メール アドレスを入力してください < 2.0.0
invalid_email 有効な電子メール アドレスを入力してください < 2.0.0
email_pattern ^[a-zA-Z0-9.!#$%&'*+\/=?^_`\{\|\}~\-]+@[a-zA-Z0-9\-]+(?:\\.[a-zA-Z0-9\-]+)\*$ < 2.0.0
local_intro_username 自分のユーザー名でサインイン < 2.0.0
logonIdentifier_username ユーザー名 < 2.0.0
requiredField_username ユーザー名を入力してください < 2.0.0
password パスワード < 2.0.0
requiredField_password パスワードを入力してください < 2.0.0
createaccount_link 今すぐサインアップ < 2.0.0
cancel_message ユーザーがパスワードを忘れました < 2.0.0
invalid_password 入力したパスワードの形式が正しくありません。 < 2.0.0
createaccount_one_link 今すぐサインアップ >= 2.0.0
createaccount_two_links {0} または {1} を使用してサインアップする >= 2.0.0
createaccount_three_links {0}、{1}、または {2} を使用してサインアップする >= 2.0.0
local_intro_generic {0} を使用してサインインする >= 2.1.0
requiredField_generic {0} を入力してください >= 2.1.0
invalid_generic 有効な {0} を入力してください >= 2.1.1
heading サインイン >= 2.1.1

注意

  • {0} のようなプレースホルダーには、ClaimTypeDisplayName 値が自動的に入力されます。
  • ClaimType をローカライズする方法については、「サインアップまたはサインインの例」を参照してください。

次の例は、サインアップまたはサインインページでユーザー インターフェイス要素の一部を使用する方法を示しています。

Screenshot that shows sign-up or sign-in page U X elements.

サインアップまたはサインイン ID プロバイダー

ID プロバイダーの ID は、ユーザー体験 ClaimsExchange 要素で構成されます。 ID プロバイダーのタイトルをローカライズするには、 ElementTypeClaimsProviderに設定され、StringIdClaimsExchangeの ID に設定されます。

<OrchestrationStep Order="2" Type="ClaimsExchange">
  <Preconditions>
    <Precondition Type="ClaimsExist" ExecuteActionsIf="true">
      <Value>objectId</Value>
      <Action>SkipThisOrchestrationStep</Action>
    </Precondition>
  </Preconditions>
  <ClaimsExchanges>
    <ClaimsExchange Id="FacebookExchange" TechnicalProfileReferenceId="Facebook-OAUTH" />
    <ClaimsExchange Id="MicrosoftExchange" TechnicalProfileReferenceId="MSA-OIDC" />
    <ClaimsExchange Id="GoogleExchange" TechnicalProfileReferenceId="Google-OAUTH" />
    <ClaimsExchange Id="SignUpWithLogonEmailExchange" TechnicalProfileReferenceId="LocalAccount" />
  </ClaimsExchanges>
</OrchestrationStep>

次の例では、Facebook の ID プロバイダーをアラビア語にローカライズしています。

<LocalizedString ElementType="ClaimsProvider" StringId="FacebookExchange">فيس بوك</LocalizedString>

サインアップまたはサインインのエラー メッセージ

id 既定値
UserMessageIfInvalidPassword パスワードが正しくありません。
UserMessageIfPasswordExpired パスワードが期限切れです。
UserMessageIfClaimsPrincipalDoesNotExist ご利用のアカウントが見つからないようです。
UserMessageIfOldPasswordUsed 古いパスワードが使用された可能性があります。
DefaultMessage ユーザー名またはパスワードが無効です。
UserMessageIfUserAccountDisabled ご使用のアカウントはロックされています。 サポート担当者に連絡してロックを解除してから、もう一度お試しください。
UserMessageIfUserAccountLocked ご使用のアカウントは、不正使用を防ぐために一時的にロックされています。 後で再試行してください。
AADRequestsThrottled この時点でリクエストが多すぎます。 しばらく待って、もう一度やり直してください。

サインアップまたはサインインの例

<LocalizedResources Id="api.signuporsignin.en">
  <LocalizedStrings>
    <LocalizedString ElementType="ClaimType" ElementId="email" StringId="DisplayName">Email Address</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="heading">Sign in</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="social_intro">Sign in with your social account</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="local_intro_generic">Sign in with your {0}</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="requiredField_password">Please enter your password</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="requiredField_generic">Please enter your {0}</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="invalid_generic">Please enter a valid {0}</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="createaccount_one_link">Sign up now</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="createaccount_two_links">Sign up with {0} or {1}</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="createaccount_three_links">Sign up with {0}, {1}, or {2}</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="forgotpassword_link">Forgot your password?</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="button_signin">Sign in</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="divider_title">OR</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="unknown_error">We are having trouble signing you in. Please try again later.</LocalizedString>
    <!-- Uncomment the remember_me only if the keep me signed in is activated. 
    <LocalizedString ElementType="UxElement" StringId="remember_me">Keep me signed in</LocalizedString> -->
    <LocalizedString ElementType="ClaimsProvider" StringId="FacebookExchange">Facebook</LocalizedString>
    <LocalizedString ElementType="ErrorMessage" StringId="UserMessageIfInvalidPassword">Your password is incorrect.</LocalizedString>
    <LocalizedString ElementType="ErrorMessage" StringId="UserMessageIfPasswordExpired">Your password has expired.</LocalizedString>
    <LocalizedString ElementType="ErrorMessage" StringId="UserMessageIfClaimsPrincipalDoesNotExist">We can't seem to find your account.</LocalizedString>
    <LocalizedString ElementType="ErrorMessage" StringId="UserMessageIfOldPasswordUsed">Looks like you used an old password.</LocalizedString>
    <LocalizedString ElementType="ErrorMessage" StringId="DefaultMessage">Invalid username or password.</LocalizedString>
    <LocalizedString ElementType="ErrorMessage" StringId="UserMessageIfUserAccountDisabled">Your account has been locked. Contact your support person to unlock it, then try again.</LocalizedString>
    <LocalizedString ElementType="ErrorMessage" StringId="UserMessageIfUserAccountLocked">Your account is temporarily locked to prevent unauthorized use. Try again later.</LocalizedString>
    <LocalizedString ElementType="ErrorMessage" StringId="AADRequestsThrottled">There are too many requests at this moment. Please wait for some time and try again.</LocalizedString>
  </LocalizedStrings>
</LocalizedResources>

サインアップとセルフアサート ページのユーザー インターフェイス要素

以下の ID は、api.localaccountsignup の ID を持つコンテンツ定義、または api.selfasserted で始まるコンテンツ定義 (api.selfasserted.profileupdateapi.localaccountpasswordreset など)、およびセルフアサート技術プロファイルで使用されます。

id 既定値
ver_sent 次の場所に確認コードが送信されました:
ver_but_default 既定
cancel_message セルフ アサート情報の入力がユーザーによって取り消されました
preloader_alt お待ちください
ver_but_send 確認コードを送信する
alert_yes はい
error_fieldIncorrect 1 つ以上のフィールドが正しく入力されていません。 入力を確認してから、やり直してください。
year Year
verifying_blurb 情報の処理が終わるまでお待ちください。
button_cancel キャンセル
ver_fail_no_retry 多くの正しくない試行を行いました。 後でもう一度やり直してください。
month Month
ver_success_msg 電子メールアドレスが確認されました。 続行することができるようになりました。
months 1 月、2 月、3 月、4 月、5 月、6 月、7 月、8 月、9 月、10 月、11 月、12 月
ver_fail_server メール アドレスの確認で問題が発生しています。 有効なメール アドレスを入力して、もう一度やり直してください。
error_requiredFieldMissing 必要なフィールドがありません。 すべての必須フィールドに入力してから、やり直してください。
heading [ユーザーの詳細]
initial_intro 以下の詳細を指定してください。
ver_but_resend 新しいコードを送信します
button_continue 作成
error_passwordEntryMismatch パスワードの入力フィールドが一致しません。 両方のフィールドに同じパスワードを入力して、もう一度やり直してください。
ver_incorrect_format 形式が正しくありません
ver_but_edit 電子メールを変更します
ver_but_verify コードの確認
alert_no いいえ
ver_info_msg 確認コードが受信トレイに送信されました。 次の入力ボックスにコピーしてください。
day 日間
ver_fail_throttled このメール アドレスを確認するリクエストが多すぎます。 しばらく待って、再試行してください。
helplink_text これは何ですか。
ver_fail_retry そのコードが正しくありません。 再試行してください。
alert_title 詳細情報の入力をキャンセルします。
required_field この情報は必須です。
alert_message 詳細情報の入力をキャンセルしますか。
ver_intro_msg 確認が必要です。 [送信] ボタンをクリックしてください。
ver_input 確認コード
required_field_descriptive {0} は必須です

UxElement の文字列 ID は、セルフアサート ページの下部に免責事項リンクを表示します。 これらのリンクは、ローカライズされた文字列で指定されていない限り、既定では表示されません。

ID 値の例
disclaimer_msg_intro 電話番号を入力すると、テキスト メッセージによって送信されるワンタイム パスコードの受信に同意したことになり、{アプリケーション名を挿入} にサインインできるようになります。 メッセージとデータの標準的な通信料が適用される場合があります。
disclaimer_link_1_text プライバシーに関する声明
disclaimer_link_1_url {プライバシーに関する声明の URL を挿入}
disclaimer_link_2_text 使用条件
disclaimer_link_2_url {ご契約条件の URL を挿入}

サインアップとセルフアサート ページ エラー メッセージ

id 既定値
UserMessageIfClaimsPrincipalAlreadyExists 指定した ID を持つユーザーは既に存在します。 別の ID を選択してください。
UserMessageIfClaimNotVerified 要求が確認されていません: {0}
UserMessageIfIncorrectPattern {0} のパターンが正しくありません:
UserMessageIfMissingRequiredElement 必要な要素が見つかりません: {0}
UserMessageIfValidationError {0} による検証中にエラーが発生しました
UserMessageIfInvalidInput {0}に無効な入力があります。
ServiceThrottled この時点でリクエストが多すぎます。 しばらく待って、もう一度やり直してください。

次の例では、サインアップページにユーザーインターフェイス要素の一部を使用しています。

Sign-up page with its UI element names labeled

次の例は、ユーザーが [確認コードの送信] ボタンを選択した後、サインアップ ページでユーザー インターフェイス要素の一部を使用する方法を示しています。

Sign-up page email verification UX elements

サインアップ ページとセルフアサート ページの例

<LocalizedResources Id="api.localaccountsignup.en">
  <LocalizedStrings>
    <LocalizedString ElementType="ClaimType" ElementId="email" StringId="DisplayName">Email Address</LocalizedString>
    <LocalizedString ElementType="ClaimType" ElementId="email" StringId="UserHelpText">Email address that can be used to contact you.</LocalizedString>
    <LocalizedString ElementType="ClaimType" ElementId="email" StringId="PatternHelpText">Please enter a valid email address.</LocalizedString>
    <LocalizedString ElementType="ClaimType" ElementId="newPassword" StringId="DisplayName">New Password</LocalizedString>
    <LocalizedString ElementType="ClaimType" ElementId="newPassword" StringId="UserHelpText">Enter new password</LocalizedString>
    <LocalizedString ElementType="ClaimType" ElementId="newPassword" StringId="PatternHelpText">8-16 characters, containing 3 out of 4 of the following: Lowercase characters, uppercase characters, digits (0-9), and one or more of the following symbols: @ # $ % ^ &amp; * - _ + = [ ] { } | \ : ' , ? / ` ~ " ( ) ; .</LocalizedString>
    <LocalizedString ElementType="ClaimType" ElementId="reenterPassword" StringId="DisplayName">Confirm New Password</LocalizedString>
    <LocalizedString ElementType="ClaimType" ElementId="reenterPassword" StringId="UserHelpText">Confirm new password</LocalizedString>
    <LocalizedString ElementType="ClaimType" ElementId="reenterPassword" StringId="PatternHelpText">#8-16 characters, containing 3 out of 4 of the following: Lowercase characters, uppercase characters, digits (0-9), and one or more of the following symbols: @ # $ % ^ &amp; * - _ + = [ ] { } | \ : ' , ? / ` ~ " ( ) ; .</LocalizedString>
    <LocalizedString ElementType="ClaimType" ElementId="displayName" StringId="DisplayName">Display Name</LocalizedString>
    <LocalizedString ElementType="ClaimType" ElementId="displayName" StringId="UserHelpText">Your display name.</LocalizedString>
    <LocalizedString ElementType="ClaimType" ElementId="surname" StringId="DisplayName">Surname</LocalizedString>
    <LocalizedString ElementType="ClaimType" ElementId="surname" StringId="UserHelpText">Your surname (also known as family name or last name).</LocalizedString>
    <LocalizedString ElementType="ClaimType" ElementId="givenName" StringId="DisplayName">Given Name</LocalizedString>
    <LocalizedString ElementType="ClaimType" ElementId="givenName" StringId="UserHelpText">Your given name (also known as first name).</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="button_continue">Create</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="error_fieldIncorrect">One or more fields are filled out incorrectly. Please check your entries and try again.</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="error_passwordEntryMismatch">The password entry fields do not match. Please enter the same password in both fields and try again.</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="error_requiredFieldMissing">A required field is missing. Please fill out all required fields and try again.</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="helplink_text">What is this?</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="heading">User Details</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="initial_intro">Please provide the following details.</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="preloader_alt">Please wait</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="required_field">This information is required.</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="required_field_descriptive">{0} is required</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="ver_but_edit">Change e-mail</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="ver_but_resend">Send new code</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="ver_but_send">Send verification code</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="ver_but_verify">Verify code</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="ver_fail_code_expired">That code is expired. Please request a new code.</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="ver_fail_no_retry">You've made too many incorrect attempts. Please try again later.</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="ver_fail_retry">That code is incorrect. Please try again.</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="ver_fail_server">We are having trouble verifying your email address. Please enter a valid email address and try again.</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="ver_fail_throttled">There have been too many requests to verify this email address. Please wait a while, then try again.</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="ver_info_msg">Verification code has been sent to your inbox. Please copy it to the input box below.</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="ver_input">Verification code</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="ver_intro_msg">Verification is necessary. Please click Send button.</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="ver_success_msg">E-mail address verified. You can now continue.</LocalizedString>
    <!-- The following elements will display a message and two links at the bottom of the page. 
         For policies that you intend to show to users in the United States, we suggest displaying the following text. Replace the content of the disclaimer_link_X_url elements with links to your organization's privacy statement and terms and conditions. 
          Uncomment any of these lines to display them.  -->
    <!-- <LocalizedString ElementType="UxElement" StringId="disclaimer_msg_intro">By providing your phone number, you consent to receiving a one-time passcode sent by text message to help you sign into {insert your application name}. Standard message and data rates may apply.</LocalizedString> -->
    <!-- <LocalizedString ElementType="UxElement" StringId="disclaimer_link_1_text">Privacy Statement</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="disclaimer_link_1_url">{insert your privacy statement URL}</LocalizedString> -->
    <!-- <LocalizedString ElementType="UxElement" StringId="disclaimer_link_2_text">Terms and Conditions</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="disclaimer_link_2_url">{insert your terms and conditions URL}</LocalizedString> -->
    <LocalizedString ElementType="ErrorMessage" StringId="ServiceThrottled">There are too many requests at this moment. Please wait for some time and try again.</LocalizedString>
    <LocalizedString ElementType="ErrorMessage" StringId="UserMessageIfClaimNotVerified">Claim not verified: {0}</LocalizedString>
    <LocalizedString ElementType="ErrorMessage" StringId="UserMessageIfClaimsPrincipalAlreadyExists">A user with the specified ID already exists. Please choose a different one.</LocalizedString>
    <LocalizedString ElementType="ErrorMessage" StringId="UserMessageIfIncorrectPattern">Incorrect pattern for: {0}</LocalizedString>
    <LocalizedString ElementType="ErrorMessage" StringId="UserMessageIfInvalidInput">{0} has invalid input.</LocalizedString>
    <LocalizedString ElementType="ErrorMessage" StringId="UserMessageIfMissingRequiredElement">Missing required element: {0}</LocalizedString>
    <LocalizedString ElementType="ErrorMessage" StringId="UserMessageIfValidationError">Error in validation by: {0}</LocalizedString>
  </LocalizedStrings>
</LocalizedResources>

電話ファクター認証ページのユーザー インタフェース要素

以下は、api.phonefactor の ID を持つコンテンツ定義用の ID と、電話ファクター技術プロファイルです。

id 既定値 ページ レイアウト バージョン
button_verify 電話する All
country_code_label 国番号 All
cancel_message ユーザーが多要素認証を取り消しました All
text_button_send_second_code 新しいコードを送信する All
code_pattern \d{6} All
intro_mixed レコードに次の番号があります。 ユーザーを認証する電話または SMS を使用してコードを送信できます。 All
intro_mixed_p レコードに、次の番号があります。 ユーザーに電話できる番号を選択するか、認証するために SMS 経由でコードを送信します。 All
button_verify_code コードの確認 All
requiredField_code 受信した確認コードを入力してください All
invalid_code 受信した 6 桁のコードを入力してください All
button_cancel キャンセル All
local_number_input_placeholder_text 電話番号 All
button_retry [再試行] All
alternative_text 自分の電話を持っていません All
intro_phone_p レコードに、次の番号があります。 電話で認証できる番号を選択してください。 All
intro_phone レコードに次の番号があります。 認証するためにお電話します。 All
enter_code_text_intro 以下に確認コードを入力するか、 All
intro_entry_phone 認証用に電話を受けることを希望する番号を以下に入力してください。 All
intro_entry_sms 認証用に SMS でコードを受け取ることを希望する番号を以下に入力してください。 All
button_send_code コードの送信 All
invalid_number 有効な電話番号を入力してください All
intro_sms レコードに次の番号があります。 認証するために SMS を介してコードを送信します。 All
intro_entry_mixed 認証用に SMS でコードを受け取る、または電話を受けることを希望する番号を以下に入力してください。 All
number_pattern ^\\+(?:[0-9][\\x20-]?){6,14}[0-9]$ All
intro_sms_p レコードに、次の番号があります。 認証用に SMS でコードを受け取ることを希望する番号を以下に入力してください。 All
requiredField_countryCode 国コードを選択してください All
requiredField_number 電話番号を入力してください All
country_code_input_placeholder_text 国/リージョン All
number_label 電話番号 All
error_tryagain 指定した電話番号がビジー状態であるか、利用不可です。 番号を確認して、もう一度やり直してください。 All
error_sms_throttled テキスト メッセージの数が上限に達しました。 すぐにもう一度お試しください。 >= 1.2.3
error_phone_throttled 呼び出しの試行回数が上限に達しました。 すぐにもう一度お試しください。 >= 1.2.3
error_throttled 確認の試行回数が上限に達しました。 すぐにもう一度お試しください。 >= 1.2.3
error_incorrect_code 入力した確認コードは、弊社の記録と一致しません。 もう一度やり直すか、新しいコードを要求してください。 All
countryList 国の一覧」を参照してください。 All
error_448 指定された電話番号につながりません。 All
error_449 ユーザーが再試行回数を超えました。 All
verification_code_input_placeholder_text 確認コード All

次の例は、MFA 登録ページの一部のユーザー インターフェイス要素の使用方法を示しています。

Phone factor authentication enrollment UX elements

次の例は、MFA 検証ページでユーザー インターフェイス要素の一部を使用する方法を示しています。

Phone factor authentication validation UX elements

電話ファクター認証ページの例

<LocalizedResources Id="api.phonefactor.en">
  <LocalizedStrings>
    <LocalizedString ElementType="UxElement" StringId="button_verify">Call Me</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="country_code_label">Country Code</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="cancel_message">The user has canceled multi-factor authentication</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="text_button_send_second_code">Send a new code</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="code_pattern">\d{6}</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="intro_mixed">We have the following number on record for you. We can send a code via SMS or phone to authenticate you.</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="intro_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.</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="button_verify_code">Verify Code</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="requiredField_code">Please enter the verification code you received</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="invalid_code">Please enter the 6-digit code you received</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="button_cancel">Cancel</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="local_number_input_placeholder_text">Phone number</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="button_retry">Retry</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="alternative_text">I don't have my phone</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="intro_phone_p">We have the following numbers on record for you. Choose a number that we can phone to authenticate you.</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="intro_phone">We have the following number on record for you. We will phone to authenticate you.</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="enter_code_text_intro">Enter your verification code below, or</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="intro_entry_phone">Enter a number below that we can phone to authenticate you.</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="intro_entry_sms">Enter a number below that we can send a code via SMS to authenticate you.</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="button_send_code">Send Code</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="invalid_number">Please enter a valid phone number</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="intro_sms">We have the following number on record for you. We will send a code via SMS to authenticate you.</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="intro_entry_mixed">Enter a number below that we can send a code via SMS or phone to authenticate you.</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="number_pattern">^\+(?:[0-9][\x20-]?){6,14}[0-9]$</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="intro_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.</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="requiredField_countryCode">Please select your country code</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="requiredField_number">Please enter your phone number</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="country_code_input_placeholder_text">Country or region</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="number_label">Phone Number</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="error_tryagain">The phone number you provided is busy or unavailable. Please check the number and try again.</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="error_sms_throttled">You hit the limit on the number of text messages. Try again shortly.</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="error_phone_throttled">You hit the limit on the number of call attempts. Try again shortly.</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="error_throttled">You hit the limit on the number of verification attempts. Try again shortly.</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="error_incorrect_code">The verification code you have entered does not match our records. Please try again, or request a new code.</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="countryList">{"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":"Türkiye","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"}</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="error_448">The phone number you provided is unreachable.</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="error_449">User has exceeded the number of retry attempts.</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="verification_code_input_placeholder_text">Verification code</LocalizedString>
    <LocalizedString ElementType="ClaimType" ElementId="strongAuthenticationPhoneNumber" StringId="DisplayName">Phone Number</LocalizedString>
  </LocalizedStrings>
</LocalizedResources>

検証表示コントロールのユーザー インターフェイス要素

以下の ID は、ページ レイアウト バージョンが 2.1.0 以上の検証表示コントロールに使用されます。

id 既定値
intro_msg1 確認が必要です。 [送信] ボタンをクリックしてください。
success_send_code_msg 確認コードが送信されました。 次の入力ボックスにコピーしてください。
failure_send_code_msg ご使用のメールアドレスの確認に問題があります。 有効なメール アドレスを入力して、もう一度やり直してください。
success_verify_code_msg 電子メールアドレスが確認されました。 続行することができるようになりました。
failure_verify_code_msg ご使用のメールアドレスの確認に問題があります。 もう一度やり直してください。
but_send_code 確認コードを送信する
but_verify_code コードの確認
but_send_new_code 新しいコードを送信します
but_change_claims 電子メールを変更します
UserMessageIfVerificationControlClaimsNotVerified2 検証コントロールの要求は検証されていません。

1intro_msg 要素は非表示になっており、セルフアサート ページには表示されません。 表示されるようにするには、カスケード スタイル シートで [HTML のカスタマイズ] を使用します。 次に例を示します。

.verificationInfoText div{display: block!important}

2 このエラー メッセージがユーザーに表示されるのは、確認コードを入力してから [確認] ボタンを選んで確認を完了するのではなく、[続行] ボタンを選んだ場合です。

検証表示コントロールの例

<LocalizedResources Id="api.localaccountsignup.en">
  <LocalizedStrings>
   <!-- Display control UI elements-->
    <LocalizedString ElementType="DisplayControl" ElementId="emailVerificationControl" StringId="intro_msg">Verification is necessary. Please click Send button.</LocalizedString>
    <LocalizedString ElementType="DisplayControl" ElementId="emailVerificationControl" StringId="success_send_code_msg">Verification code has been sent to your inbox. Please copy it to the input box below.</LocalizedString>
    <LocalizedString ElementType="DisplayControl" ElementId="emailVerificationControl" StringId="failure_send_code_msg">We are having trouble verifying your email address. Please enter a valid email address and try again.</LocalizedString>
    <LocalizedString ElementType="DisplayControl" ElementId="emailVerificationControl" StringId="success_verify_code_msg">E-mail address verified. You can now continue.</LocalizedString>
    <LocalizedString ElementType="DisplayControl" ElementId="emailVerificationControl" StringId="failure_verify_code_msg">We are having trouble verifying your email address. Please try again.</LocalizedString>
    <LocalizedString ElementType="DisplayControl" ElementId="emailVerificationControl" StringId="but_send_code">Send verification code</LocalizedString>
    <LocalizedString ElementType="DisplayControl" ElementId="emailVerificationControl" StringId="but_verify_code">Verify code</LocalizedString>
    <LocalizedString ElementType="DisplayControl" ElementId="emailVerificationControl" StringId="but_send_new_code">Send new code</LocalizedString>
    <LocalizedString ElementType="DisplayControl" ElementId="emailVerificationControl" StringId="but_change_claims">Change e-mail</LocalizedString>
    <LocalizedString ElementType="ErrorMessage" StringId="UserMessageIfVerificationControlClaimsNotVerified">The claims for verification control have not been verified.</LocalizedString>
  </LocalizedStrings>
</LocalizedResources>

検証表示コントロールのユーザー インターフェイス要素 (非推奨)

以下の ID は、ページ レイアウト バージョンが 2.0.0 の検証表示コントロールに使用されます。

id 既定値
verification_control_but_change_claims Change
verification_control_fail_send_code コードを送信できませんでした。しばらくしてから、もう一度お試しください。
verification_control_fail_verify_code コードを検証できませんでした。しばらくしてから、もう一度お試しください。
verification_control_but_send_code コードの送信
verification_control_but_send_new_code 新しいコードを送信します
verification_control_but_verify_code コードの確認
verification_control_code_sent 確認コードが送信されました。 次の入力ボックスにコピーしてください。

検証表示コントロールの例 (非推奨)

<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, please try again later.</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="verification_control_fail_verify_code">Failed to verify the code, please 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. Please copy it to the input box below.</LocalizedString>
  </LocalizedStrings>
</LocalizedResources>

TOTP MFA コントロールの表示コントロールのユーザー インターフェイス要素

以下のID は、ページ レイアウト バージョン 2.1.9 以降の時間ベースのワンタイム パスワード (TOTP) 表示コントロールに使用されます。

id 既定値
title_text iOS と Android のダウンロード リンクを使用して Microsoft Authenticator をダウンロードするか、任意の他の認証アプリを使用します。
DN Authenticator アプリをダウンロードしたら、次のいずれかの方法を使用して登録を続けることができます。
DisplayName Authenticator アプリをダウンロードしたら、次のいずれかの方法を使用して登録を続けることができます。
title_text QR コードをスキャンします
info_msg Microsoft Authenticator アプリをダウンロードしたり、任意の他の認証アプリを使用したりすることができます。
link_text スキャンできませんか? 次の操作を試してみてください
title_text アカウントの詳細を手動で入力します。
account_name アカウント名:
display_prefix Secret
collapse_text まだ問題が解決していませんか?
DisplayName ご自分の認証アプリの確認コードを入力します。
DisplayName コードを入力します。
button_continue 確認

TOTP MFA コントロールの表示コントロールの例

      <LocalizedResources Id="api.selfasserted.totp.en">
        <LocalizedStrings>
          <LocalizedString ElementType="DisplayControl" ElementId="authenticatorAppIconControl" StringId="title_text">Download the Microsoft Authenticator using the download links for iOS and Android or use any other authenticator app of your choice.</LocalizedString>
          <LocalizedString ElementType="DisplayControl" ElementId="authenticatorAppIconControl" StringId="DN">Once you&#39;ve downloaded the Authenticator app, you can use any of the methods below to continue with enrollment.</LocalizedString>
          <LocalizedString ElementType="ClaimType" ElementId="QrCodeScanInstruction" StringId="DisplayName">Once you've downloaded the Authenticator app, you can use any of the methods below to continue with enrollment.</LocalizedString>
          <LocalizedString ElementType="DisplayControl" ElementId="totpQrCodeControl" StringId="title_text">Scan the QR code</LocalizedString>
          <LocalizedString ElementType="DisplayControl" ElementId="totpQrCodeControl" StringId="info_msg">You can download the Microsoft Authenticator app or use any other authenticator app of your choice.</LocalizedString>
          <LocalizedString ElementType="DisplayControl" ElementId="totpQrCodeControl" StringId="link_text">Can&#39;t scan? Try this</LocalizedString>
          <LocalizedString ElementType="DisplayControl" ElementId="authenticatorInfoControl" StringId="title_text">Enter the account details manually</LocalizedString>
          <LocalizedString ElementType="DisplayControl" ElementId="authenticatorInfoControl" StringId="account_name">Account Name:</LocalizedString>
          <LocalizedString ElementType="DisplayControl" ElementId="authenticatorInfoControl" StringId="display_prefix">Secret</LocalizedString>
          <LocalizedString ElementType="DisplayControl" ElementId="authenticatorInfoControl" StringId="collapse_text">Still having trouble?</LocalizedString>
          <LocalizedString ElementType="ClaimType" ElementId="QrCodeVerifyInstruction" StringId="DisplayName">Enter the verification code from your authenticator app​.</LocalizedString>
          <LocalizedString ElementType="ClaimType" ElementId="otpCode" StringId="DisplayName">Enter your code.</LocalizedString>
          <LocalizedString ElementType="UxElement" StringId="button_continue">Verify</LocalizedString>
        </LocalizedStrings>
      </LocalizedResources>

RESTful サービスのエラー メッセージ

以下の ID は、RESTful サービスの技術プロファイルのエラー メッセージに使用されます。

id 既定値
DefaultUserMessageIfRequestFailed RESTful サービス エンド ポイントへの接続を確立できませんでした。 RESTful サービスの URL: {0}
UserMessageIfCircuitOpen {0}RESTful サービスの URL: {1}
UserMessageIfDnsResolutionFailed RESTful サービス エンドポイントのホスト名を解決できませんでした。 RESTful サービスの URL: {0}
UserMessageIfRequestTimeout タイムアウト制限の {0} 秒内に、RESTful サービス エンド ポイントへの接続を確立できませんでした。 RESTful サービスの URL: {1}

RESTful サービスの例

<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>

Microsoft Entra 多要素認証のエラー メッセージ

Microsoft Entra ID 多要素認証の技術プロファイルのエラー メッセージには、次の ID が使用されます。

ID 既定値
UserMessageIfCouldntSendSms 電話に SMS を送信できません。別の電話番号をお試しください。
UserMessageIfInvalidFormat 電話番号の形式が正しくありません。修正してから、もう一度お試しください。
UserMessageIfMaxAllowedCodeRetryReached 間違ったコードの入力回数が多くなりすぎました。後でもう一度お試しください。
UserMessageIfServerError MFA サービスを使用できませんでした。後でもう一度お試しください。
UserMessageIfThrottled 要求が調整されています。後でもう一度お試しください。
UserMessageIfWrongCodeEntered 間違ったコードが入力されました。後でもう一度お試しください。

Microsoft Entra 多要素認証の例

<LocalizedResources Id="api.localaccountsignup.en">
  <LocalizedStrings>
    <LocalizedString ElementType="ErrorMessage" StringId="UserMessageIfCouldntSendSms">Cannot Send SMS to the phone, please 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, please try again later.</LocalizedString>
    <LocalizedString ElementType="ErrorMessage" StringId="UserMessageIfServerError">Cannot use MFA service, please try again later.</LocalizedString>
    <LocalizedString ElementType="ErrorMessage" StringId="UserMessageIfThrottled">Your request has been throttled, please try again later.</LocalizedString>
    <LocalizedString ElementType="ErrorMessage" StringId="UserMessageIfWrongCodeEntered">Wrong code entered, please try again.</LocalizedString>
  </LocalizedStrings>
</LocalizedResources>

Microsoft Entra SSPR

Microsoft Entra ID SSPR の技術プロファイルのエラー メッセージには、次の ID が使用されます。

ID 既定値
UserMessageIfChallengeExpired コードの有効期限が切れています。
UserMessageIfInternalError 電子メール サービスで内部エラーが発生しました。後でもう一度お試しください。
UserMessageIfThrottled 送信された要求が多すぎます。後でもう一度お試しください。
UserMessageIfVerificationFailedNoRetry 検証の試行の最大回数を超えました。
UserMessageIfVerificationFailedRetryAllowed 検証に失敗しました。もう一度お試しください。

Microsoft Entra SSPR の例

<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>

ワンタイム パスワードのエラー メッセージ

パスワード技術プロファイルの 1 回限りのエラー メッセージには、次の ID が使用されます。

ID 既定値 Description
UserMessageIfSessionDoesNotExist いいえ コード検証セッションの有効期限が切れている場合にユーザーに表示するメッセージ。 コードの有効期限が切れているか、特定の識別子に対してコードが生成されていません。
UserMessageIfMaxRetryAttempted いいえ 許可された検証試行の最大数を超えた場合にユーザーに表示するメッセージ。
UserMessageIfMaxNumberOfCodeGenerated いいえ コード生成が許容される最大試行回数を超えた場合にユーザーに表示するメッセージ。
UserMessageIfInvalidCode いいえ 無効なコードを入力した場合にユーザーに表示するメッセージ。
UserMessageIfVerificationFailedRetryAllowed いいえ 無効なコードを入力し、ユーザーが正しいコードを指定できる場合にユーザーに表示するメッセージ。
UserMessageIfSessionConflict いいえ コードを検証できない場合にユーザーに表示するメッセージ。

ワンタイム パスワードの例

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

要求の変換のエラー メッセージ

以下の ID は、要求の変換のエラー メッセージに使用されます。

id 要求の変換 既定値
UserMessageIfClaimsTransformationBooleanValueIsNotEqual AssertBooleanClaimIsEqualToValue 要求の種類 "inputClaim" のブール値の要求値の比較に失敗しました。
DateTimeGreaterThan AssertDateTimeIsGreaterThan 要求値の比較に失敗しました。指定された左オペランドが右オペランドを超えています。
UserMessageIfClaimsTransformationStringsAreNotEqual AssertStringClaimsAreEqual StringComparison "OrdinalIgnoreCase" を使用した要求値の比較に失敗しました。

要求変換の例 1:

この例では、ローカル アカウントのサインアップ用にローカライズされたメッセージを示します。

<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>

要求変換の例 2:

この例では、ローカル アカウントのパスワード リセット用にローカライズされたメッセージを示します。

<LocalizedResources Id="api.localaccountpasswordreset.en">
  <LocalizedStrings>
    <LocalizedString ElementType="ErrorMessage" StringId="UserMessageIfClaimsTransformationBooleanValueIsNotEqual">You cannot use the old password</LocalizedString>    
  </LocalizedStrings>
</LocalizedResources>

CAPTCHA ディスプレイ コントロールのユーザー インターフェイス要素

CAPTCHA ディスプレイ コントロールには、次の ID が使用されます。

ID 既定値 説明
newCaptcha_arialabel 新しい CAPTCHA の作成 CAPTCHA 再生アイコンの上にマウス ポインターを移動したときにユーザーに表示するツールヒント メッセージ。
switchCaptchaType_title CAPTCHA の種類を {0} CAPTCHA オーディオまたは画像アイコンの上にマウス ポインターを移動したときにユーザーに表示するツールヒント メッセージ。
captchatype_visual_help 表示される文字を入力します ユーザーがビジュアル モードの場合に CAPTCHA コードを入力する入力ボックス内のプレースホルダー テキスト。
captchatype_audio_title オーディオ ボタンを押してチャレンジを再生する ユーザーがオーディオ モードに切り替わった場合に、CAPTCHA スピーカー アイコンの上にマウス ポインターを移動したときにユーザーに表示されるヒント メッセージ。
captchatype_audio_help 読み上げる文字を入力します ユーザーがオーディオ モードに切り替えた場合に CAPTCHA コードを入力する入力ボックス内のプレースホルダー テキスト。
charsnotmatched_error 文字が CAPTCHA チャレンジと一致しませんでした。 Please try again (現在、要求レートが大きすぎます。もう一度実行してください) 間違った CAPTCHA コードを入力した場合にユーザーに表示するメッセージ。
api_error CAPTCHA コントロールの API エラー Azure AD B2C が CAPTCHA コードの検証を試みるときにエラーが発生した場合にユーザーに表示するメッセージ。
captcha_resolved Success! 正しい CAPTCHA コードを入力した場合にユーザーに表示するメッセージ。
DisplayName ボットを倒すのに役立ちます。 CAPTCHA 表示コントロールの表示名。

CAPTCHA 表示制御の例

この例では、CAPTCHA 表示コントロールのローカライズされたメッセージを示します。

      <LocalizedResources Id="api.localaccountsignup.en">
        <LocalizedStrings>
          <LocalizedString ElementType="UxElement" StringId="newCaptcha_arialabel">Create new CAPTCHA</LocalizedString>
          <LocalizedString ElementType="UxElement" StringId="switchCaptchaType_title">Switch CAPTCHA type to {0}</LocalizedString>
          <LocalizedString ElementType="UxElement"  StringId="captchatype_visual_help">Enter the characters you see</LocalizedString>
          <LocalizedString ElementType="UxElement"  StringId="captchatype_audio_title">Press audio button to play the challenge</LocalizedString>
          <LocalizedString ElementType="UxElement"  StringId="captchatype_audio_help"> Enter the characters you hear</LocalizedString>
          <LocalizedString ElementType="ErrorMessage"  StringId="charsnotmatched_error"> The characters did not match for CAPTCHA challenge. Please try again</LocalizedString>
          <LocalizedString ElementType="ErrorMessage"  StringId="api_error"> Api error on CAPTCHA control</LocalizedString>
          <LocalizedString ElementType="UxElement"  StringId="captcha_resolved"> Success!</LocalizedString>
          <LocalizedString ElementType="DisplayControl" ElementId="captchaControlChallengeCode" StringId="DisplayName">Help us beat the bots</LocalizedString>
        </LocalizedStrings>
      </LocalizedResources>

次のステップ

ローカライズの例については、次の記事を参照してください。