> ## Documentation Index
> Fetch the complete documentation index at: https://docs-dev-actions-triggers-prototype.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が定めた特殊フォルダーの命名規則を使って、開発者が翻訳ファイルを1つずつアプリに追加する必要があります。詳細については、[Androidの開発ドキュメント](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>
```

## Lock文字列値

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