Skip to main content

Documentation: Autolanguage plugin

OpenAI API Key

An OpenAI API key lets you use models like GPT-4 for translations. You'll need an account, billing set up, and a generated key.

Step 1: Create an OpenAI account

  • Go to the OpenAI Platform website.
  • Click Sign up to create an account, or log in if you already have one. A regular ChatGPT subscription does not automatically give you API access, they're separate billing systems.

Step 2: Access the API dashboard

  • Once logged in, you'll be in the OpenAI Platform dashboard.
  • Go to the API keys section in the left sidebar, or directly to platform.openai.com/api-keys.

openai api 01

  • Click "+ Create new secret key".
  • Give your key a name (optional, but helpful for identifying it later, e.g. "Development Key").
  • Select the project if prompted.
  • Click Create secret key.
  • Save your secret key somewhere safe, you won't be able to view it again.

Step 3: Add the key to Joomla

  • Log in to your Joomla backend.
  • Go to System > Manage > Plugins and open System - Autolanguage.
  • Open the Service & API tab.
  • Set Translation Service to OpenAI (ChatGPT).
  • Paste your key into the OpenAI API Key field.
    openai api 02
  • Save.
  • After saving, select the model you want to use. See OpenAI's pricing page for the cost of each model.