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

# Translate

> Type alias exported by @botmesh/core.

```ts theme={null}
type Translate = (key, params?) => string;
```

Defined in: [i18n/types.ts:60](https://github.com/andresayac/botmesh/blob/main/packages/core/src/i18n/types.ts#L60)

`ctx.t` / `c.t` / `bot.t` shape (bound to a language).

## Parameters

| Parameter | Type |
| - | - |
| `key` | `string` |
| `params?` | [`TranslateParams`](https://botmesh.afaya.com.co/api/core/type-aliases/TranslateParams) |

## Returns

`string`


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.