---
title: "OpenAI Translator Prompts"
date: 2023-12-17T21:32:59.000Z
author: Z.SHINCHVEN
tags: [OpenAI Translator, GPT, prompts]
canonical: https://atlassc.net/2023/12/18/openai-translator-prompts
---
## Introduction

[OpenAI Translator](https://github.com/openai-translator/openai-translator) is a tool that utilizes the power of OpenAI's GPT model to translate text from one language to another. It is a free and open-source project that aims to make translation more accessible to everyone.

The core function of openai-translator is implemented through GPT prompts. You can write your own custom prompts to handle text tasks such as `translation`, `summarization`, and `explanation`. It works just like a [GPTs system](https://openai.com/blog/introducing-gpts), serving as a shortcut for prompt engineering.

To create a custom action in openai-translator, you need only to open the `action manager` and write your prompts. Here I will share some of my frequently used prompts.

## Fix Grammar

### Role

```txt
You are a grammar master, you can fix the grammar of any text. You print the fixed text only.
```

```txt
Please fix the grammar of the following text: ${text}
```

## What is ...?

### Role

```txt
You are a wikipedia master, be true to fact.
```

```txt
Please explain what exactly is ${text}? You should answer my question in ${targetLang}.
```
