WP Manifestindependent plugin directory
manifest / i18n / simple-api-translator

Simple API Translator

Translates post and page content using OpenAI or DeepL while preserving HTML and WordPress shortcodes. Supports WPML languages.

by Tommaso Vietina · github.com/tommasov/simple-api-translator · website

0stars
0forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/tommasov/simple-api-translator/archive/refs/heads/main.zip

Simple API Translator is a WordPress plugin that allows you to translate post and page content quickly and efficiently, using OpenAI (GPT-4o-mini) or DeepL translation engines.

Features

  • Translation Engines: Support for OpenAI (GPT-4o-mini model) and DeepL (Free and Pro).
  • Content Preservation: Keeps HTML tags and WordPress shortcodes intact during translation.
  • WPML Integration: Supports detection of languages managed via WPML.
  • Simple Interface: A dedicated metabox in the post editor to translate with a single click.

Requirements

  • WordPress 5.0 or higher.
  • A valid API key for OpenAI or DeepL.
  • (Optional) WPML installed for advanced multilingual support.

Installation

  1. Upload the simple-api-translator folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the 'Plugins' menu in WordPress.

Configuration

After activation, go to Settings > Simple API Translator to:

  1. Choose your preferred translation engine (OpenAI or DeepL).
  2. Enter the corresponding API key.
  3. Save the settings.

Usage

In the post or page editor, you will find a metabox called "Simple API Translator". Select the target language and click the button to start the automatic translation of the content.

Author