---
title: "Update Chatbot Settings - Localization"
method: PATCH
path: "/v0/chatbots/{chatbotId}/settings/localization"
tags: ["Chatbot Settings"]
---

# Update Chatbot Settings - Localization

`PATCH /v0/chatbots/{chatbotId}/settings/localization`

## Request

- Base URL: `https://sitegpt.ai/api`
- URL: `https://sitegpt.ai/api/v0/chatbots/{chatbotId}/settings/localization`
- Auth: HTTP bearer

Update localization settings of the chatbot

## Path parameters

- `chatbotId` string, required

## Request body

- object: Request Body. A group omitted from the body is reset to its defaults; a group that is present is merged key-by-key into the stored group. `locale` omitted or null resets to English.
  - `locale` string, nullable: Language of the text the widget writes itself (relative timestamps such as "just now"). A BCP-47 tag from the supported list, for example `da`, `de`, `ja`, `pt`. Common variants are accepted and stored canonically (`da-DK` becomes `da`); an unsupported tag is a validation error.
  - `chatHome` ChatbotLocalizationChatHome: Localization settings for home screen in the chatbot
    - `home` string: Text to be replaced for `Home` in home screen
    - `addDetails` string: Text to be replaced for `Add details` in home screen
    - `startConversation` string: Text to be replaced for `Start a conversation` in home screen
    - `starting` string: Text to be replaced for `Starting...` in home screen
  - `chatMessages` ChatbotLocalizationChatMessages: Localization settings for messages screen in the chatbot
    - `messages` string: Text to be replaced for `Messages` in messages screen
    - `noMessages` string: Text to be replaced for `No Messages` in messages screen
    - `loginToSeeHistory` string: Text to be replaced for `Verify your email to save your conversation history.` in messages screen
    - `historyShowsUpHere` string: Text to be replaced for `Your conversation history shows up here.` in messages screen
    - `verifyEmail` string: Text to be replaced for `Verify your email` in messages screen
    - `startConversation` string: Text to be replaced for `Start a conversation` in messages screen
    - `starting` string: Text to be replaced for `Starting...` in messages screen
  - `chatMessage` ChatbotLocalizationChatMessage: Localization settings for individual conversations in the chatbot
    - `botName` string: Text to be replaced for `Bot` in individual conversations
    - `yourName` string: Text to be replaced for `You` in individual conversations
    - `agentName` string: Text to be replaced for `Agent` in individual conversations
    - `escalationHeading` string: Text to be replaced for `Are you sure you want to escalate the chat to human support?` in individual conversations
    - `escalationSubHeading` string: Text to be replaced for `This conversation will be shared with the human support and they will get back to you as soon as they can.` in individual conversations
    - `yesContinue` string: Text to be replaced for `Yes, continue` in individual conversations
    - `cancel` string: Text to be replaced for `Cancel` in individual conversations
    - `conversationEscalated` string: Text to be replaced for `👨‍💼 Conversation changed to human mode` in individual conversations
  - `chatAccount` ChatbotLocalizationChatAccount: Localization settings for account screen in the chatbot
    - `account` string: Text to be replaced for `Account` in account screen
    - `verifyEmail` string: Text to be replaced for `Verify your email` in account screen
    - `loginToSeeHistory` string: Text to be replaced for `Verify your email to save your chat history` in account screen
    - `emailLabel` string: Text to be replaced for `Email` in account screen
    - `nameLabel` string: Text to be replaced for `Name` in account screen
    - `phoneLabel` string: Text to be replaced for `Phone Number` in account screen
    - `submit` string: Text to be replaced for `Submit` in account screen
    - `sendingOtp` string: Text to be replaced for `Sending OTP...` in account screen
    - `verifyOtp` string: Text to be replaced for `Verify OTP` in account screen
    - `sentOtpToEmail` string: Text to be replaced for `We sent the OTP to your email address` in account screen
    - `otp` string: Text to be replaced for `OTP` in account screen
    - `verifyAndContinue` string: Text to be replaced for `Verify & Continue` in account screen
    - `notReceivedOtpYet` string: Text to be replaced for `Didn't receive OTP yet?` in account screen
    - `resend` string: Text to be replaced for `Resend` in account screen
    - `editDetails` string: Text to be replaced for `Edit Details` in account screen
    - `resetting` string: Text to be replaced for `Resetting...` in account screen
    - `verifying` string: Text to be replaced for `Verifying...` in account screen
    - `logout` string: Text to be replaced for `Logout` in account screen
    - `loggingOut` string: Text to be replaced for `Logging out...` in account screen
    - `verified` string: Text to be replaced for `Verified` in account screen
    - `edit` string: Text to be replaced for `Edit` in account screen
    - `update` string: Text to be replaced for `Update` in account screen
    - `updating` string: Text to be replaced for `Updating...` in account screen

## Response `200`

OK

- object: Success Response
  - `success` boolean: Indicates whether this is success response or error response
  - `message` string: Overall message regarding the operation performed
  - `data` object, nullable: Data returned from the server

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `405`: Method Not Allowed
- `500`: Internal Server Error

---

[API](https://skmtc.dev/sitegpt/apis/sitegpt-api-collection.md) · [All operations](https://skmtc.dev/sitegpt/apis/sitegpt-api-collection/llms.txt) · [OpenAPI document](https://skmtc.dev/sitegpt/apis/sitegpt-api-collection/revisions/aec0de1a00af?raw)
