> For the complete documentation index, see [llms.txt](https://docs.authgear.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.authgear.com/customization/built-in-ui/localization.md).

# Custom Text

You can customize the default text displayed in the AuthUI or provide your own translations by editing `translation.json`. **Custom Text** allows you to override specific UI strings across different languages.

Follow these steps to change any text in AuthUI.

1. Go to **Portal** > **Branding** > **Custom Text**
2. In the text box, add new key–value pairs or modify the values of existing keys in the JSON object.
   1. See default translation.json [here](https://github.com/authgear/authgear-server/blob/main/resources/authgear/templates/en/translation.json) for a list of available keys and their default values.

Authgear uses **ICU Message Format** for message values.

<figure><img src="/files/aYCPDRUWdYCilR3SIQEf" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
Any value you provide will override the default. If you remove a key–value pair, Authgear will fall back to the default translation.
{% endhint %}

### Example: Displaying the Application Client Name in AuthUI

The AuthUI normally displays:

> **“Sign up or Log in to \[Organization Name]”**

This helps users understand that they will authenticate using credentials shared across all applications in the organization.

In some cases, however, you may want to display the **client application's name** instead of the organization name. You can achieve this using a `select` expression in ICU Message Format:

{% code overflow="wrap" %}

```
"v2.page.signup-login.default.subtitle": "Sign up or Log in to {ClientName, select, null {{AppName}} other {{ClientName}}}"
```

{% endcode %}

**Variables**

* `AppName`: The organization name configured in the **Design** page.
* `ClientName`: The name of the application client, found in the application’s **Details** page.

With this configuration:

* If `ClientName` is not provided, AuthUI will show the organization name (`AppName`).
* If `ClientName` is available, it will show the client application's name instead.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.authgear.com/customization/built-in-ui/localization.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
