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

> Lock.Android の国際化サポート

# Lock.Android の国際化

既定では、**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/master/lib/src/main/res/values/strings.xml) を参照してください。
