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

# cust_lang table

> This table contains entries for customer languages.

## cust\_lang Table (320)

This table contains entries for customer languages.

## Fields

| Name            | Description                                                                                                                        | Type                                 | Nullable |
| --------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------ | :------: |
| id              | The primary key (auto-incremented)                                                                                                 | PK                                   |    No    |
| name            | The name/alias for this language.                                                                                                  | String(255)                          |    Yes   |
| lang\_code      | A short code for this language (\&apos;no\&apos;, \&apos;dk\&apos;, etc). Used in pathname to templates.                           | String(5)                            |    Yes   |
| virtual\_domain | The virtual domain which should trigger this language (e.g. \&apos;support.company.dk\&apos; vs. \&apos;support.company.uk\&apos;) | String(255)                          |    Yes   |
| web\_domains    | The domains from where the user should originate (when surfing) in order to trigger this language. Commaseparated list.            | String(255)                          |    Yes   |
| email\_domains  | Commaseparated list of toplevel domains from where an email should originate in order to trigger this language.                    | String(255)                          |    Yes   |
| email\_header   | The email header line for this language (\&apos;Please keep the subject in any replies...\&apos;).                                 | String(255)                          |    Yes   |
| kb\_root        | The reference to the FAQ category which is the root category for this language (for separating the FAQ per language).              | FK [kb\_category](./kb-category.mdx) |    Yes   |
| is\_default     | Bool indicating whether this language is the default (fallback) language.                                                          | Bool                                 |    Yes   |
| iso\_code       | A two letter iso code for this customer language                                                                                   | String(63)                           |    Yes   |

<img src="https://mintcdn.com/superofficeas/i6M2qZmvMNH7UTeu/media/loc/en/database/tables/cust_lang.png?fit=max&auto=format&n=i6M2qZmvMNH7UTeu&q=85&s=88dfa28f508e8dd1964f53cc03364839" alt="cust_lang table relationship diagram" width="805" height="730" data-path="media/loc/en/database/tables/cust_lang.png" />

## Indexes

| Fields   | Types | Description |
| -------- | ----- | ----------- |
| kb\_root | FK    | Index       |

## Relationships

| Table                                          | Description                                                                                             |
| ---------------------------------------------- | ------------------------------------------------------------------------------------------------------- |
| [chat\_topic](./chat-topic)                    | This table contains chat topics.                                                                        |
| [contact](./contact)                           | Companies and Organizations.                                                                            |
| [cust\_category](./cust-category)              | This table contains entries for categories exposed through a customer language.                         |
| [cust\_config](./cust-config)                  | This table contains JSON structures used for customizing the customer center                            |
| [kb\_category](./kb-category)                  | Knowledge base folder hierarchy                                                                         |
| [mail\_in\_filter](./mail-in-filter)           | This table contains entries for the mailboxes the eJournal system is fetching mail from (POP3 or IMAP). |
| [person](./person)                             | Persons                                                                                                 |
| [reply\_template\_body](./reply-template-body) | Contains the body of the reply templates in different languages                                         |

## Replication Flags

* None

## Security Flags

* No access control via user's Role.


## Related topics

- [customerlanguage](/en/api/mdo-providers/reference/customerlanguage.md)
- [cust_config table](/en/database/tables/cust-config.md)
- [cust_category table](/en/database/tables/cust-category.md)
- [SuperOffice.WebApi.Data.CustomerCenterConfig](/en/api/reference/webapi/SuperOffice.WebApi.Data.CustomerCenterConfig.md)
- [reply_template_body table](/en/database/tables/reply-template-body.md)
- [chat_topic table](/en/database/tables/chat-topic.md)
