> ## Documentation Index
> Fetch the complete documentation index at: https://translations.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

> Auth0 Lock for Android を使用して、Android アプリケーションに国際化サポートを追加します。

# Lock.Android の国際化

デフォルトでは、[**Lock.Android**](/docs/ja-jp/libraries/lock-android) に表示されるテキストはすべて英語です。別の言語で表示したい場合は、`strings.xml` ファイルを用意し、Lock が表示する各種テキスト項目に使用する値を定義できます。

Android は、ユーザーが端末に設定しているロケールを確認し、その言語に対応するローカライズ済みテキストの一覧を取得しようとします。これを機能させるには、開発者が Android の標準に従った特別なフォルダー命名規則を使って、各翻訳ファイルをアプリに追加する必要があります。詳しくは、[Android developer docs](https://developer.android.com/training/basics/supporting-devices/languages) を参照してください。

Lock が提供するデフォルト値の一部を次に示します。

```xml lines theme={null}
<resources>
  <string name="com_auth0_lock_social_error_authentication">Error parsing Authentication data</string>
  <string name="com_auth0_lock_social_error_title">There was an error during authentication</string>
  ...
</resources>
```

独自の `strings.xml` ファイルを用意することで、これらの値を次のように調整できます。

```xml lines theme={null}
<resources>
  <string name="com_auth0_lock_social_error_authentication">There was an authentication error!</string>
  <string name="com_auth0_lock_social_error_title">Social login error!!</string>
  ...
</resources>
```

<div id="lock-string-values">
  ## Lock の文字列
</div>

Lock で使用される名前の一覧は、Lock.Android リポジトリの[デフォルトの strings.xml ファイル](https://github.com/auth0/Lock.Android/blob/main/lib/src/main/res/values/strings.xml)を参照してください。
