=== REEID Translate ===
Contributors: ridgc
Tags: ai translation, multilingual, translate wordpress, woocommerce translation, hreflang
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 8.0
Stable tag: 1.9.1
License: GPL-3.0-or-later
License URI: https://www.gnu.org/licenses/gpl-3.0.html

AI-powered WordPress translation for posts, pages, WooCommerce products, slugs, menus, and multilingual SEO.

== Description ==

REEID Translate helps site administrators translate WordPress posts, pages, WooCommerce product content, menus, slugs, and SEO signals using AI.

Translations are stored as separate WordPress content items or translation data and linked through an internal translation relationship map. Your original content is not modified.

REEID Translate focuses on practical multilingual publishing:

* Translate posts and pages with AI
* Translate WooCommerce product content
* Generate language-aware URLs
* Support native and multilingual slugs
* Output hreflang tags for translated content
* Manage auto-translated menu labels
* Display a frontend language switcher
* Repair translation relationships when needed

REEID Translate is fully functional as a free plugin. The workflows included in this WordPress.org package are available as part of the plugin.

= Built for WordPress content =

REEID Translate works with native WordPress structures. It stores translated content as separate posts, pages, or product data and connects translations through a relationship map. This keeps the original content safe and gives you editable translated versions.

= SEO support =

After translating a page, post, or product, REEID Translate can output hreflang tags to help search engines discover and understand the correct language versions of your content.

= Language switcher =

Use the shortcode below to place the language switcher in pages, widgets, headers, footers, or builder areas that support shortcodes:

`[reeid_language_switcher]`

= WooCommerce support =

REEID Translate can help translate WooCommerce product content while preserving product structure, pricing, stock, and product configuration.

== How It Works ==

1. Install and activate REEID Translate.
2. Go to Settings → REEID Translate.
3. Enter your OpenAI API key.
4. Open a post, page, or product.
5. Choose the target language and click Translate.
6. Place the language switcher with `[reeid_language_switcher]`.

== Core Features ==

= AI Translation =

* One-click translation for posts and pages
* OpenAI API key support
* Gutenberg content support
* Classic Editor support
* WooCommerce product translation
* HTML-aware translation handling
* Native and multilingual slug support
* Translation map linking between source and translated content

= Multilingual SEO =

* Language-aware URLs
* Hreflang tag output
* Self-referencing hreflang support
* x-default support
* Native-script slug support
* Compatibility-focused SEO handling

= WooCommerce =

* Product title translation
* Product short description translation
* Product full description translation
* Product URL and slug translation
* Product configuration preservation
* Product configuration preservation

= Menu Labels =

* Translate page-linked menu labels using translated page titles and URLs
* Prepare saved translations for custom menu labels after an authorized translation action
* Apply custom menu label overrides
* Improve frontend navigation wording per language

= Language Switcher =

* Shortcode-based language switcher
* Multiple frontend display styles
* Automatic translation detection
* Default-language root behavior support

= Admin Tools =

* OpenAI API key validation
* Translation relationship map
* Translation map repair tool
* Optional cleanup tools

== Supported Editors ==

REEID Translate supports:

* Gutenberg
* Classic Editor

For best results, use content stored in standard WordPress editor structures.

== Supported Languages ==

REEID Translate supports 20+ languages including English, Chinese, German, French, Arabic, Polish, Japanese, Thai, Indonesian, Spanish, Italian, Portuguese, Korean, Vietnamese, and more.

== Installation ==

1. Upload the `reeid-translate` folder to `/wp-content/plugins/`.
2. Activate the plugin through the Plugins screen in WordPress.
3. Go to Settings → REEID Translate.
4. Enter your OpenAI API key.
5. Choose your default source language.
6. Save settings.
7. Flush permalinks if your translated URLs do not appear immediately.

== Frequently Asked Questions ==

= Does REEID Translate require an OpenAI API key? =

Yes. REEID Translate uses your own OpenAI API key for AI translation.

= Does REEID Translate modify my original content? =

No. Translations are stored separately and linked to the original content through a translation map.

= Does it support Gutenberg? =

Yes. REEID Translate supports Gutenberg content translation.

= Does it support Classic Editor? =

Yes. REEID Translate supports Classic Editor content translation.

= Does it support Elementor? =

REEID Translate focuses on Gutenberg and Classic Editor workflows. Elementor layouts are not advertised as a supported workflow in this WordPress.org package.

= Does it support WooCommerce products? =

Yes. REEID Translate includes WooCommerce product translation support.

= Does it add hreflang tags? =

Yes. REEID Translate can output hreflang tags for translated content so search engines can understand the language relationship between translated pages.

= Can I edit translated content after translation? =

Yes. Translated posts, pages, products, and slugs remain editable.

= What happens if I uninstall the plugin? =

Plugin settings and metadata can optionally be removed depending on cleanup settings. Translated content remains in WordPress unless manually deleted.

== Screenshots ==

1. WooCommerce product localization panel.
2. Strings localization screen for translated menu labels and custom overrides.
3. Translation panel inside the WordPress editor.
4. Frontend language switcher displayed on a translated page.
5. Tools screen with translation relationship map repair.
6. SEO screen for hreflang and multilingual indexing options.

== Changelog ==

= 1.9.1 =
* Updated free edition admin settings layout.
* Improved WordPress.org submission wording.
* Improved screenshot and feature description alignment.
* Clarified external service disclosure.
* Clarified GPL license information.

= 1.7.1 =
* Free edition readme and admin wording cleanup.
* Documentation consistency improvements.

= 1.7.0 =
* SEO ownership gating improvements.
* Native-script slug refinements.
* Hardened AJAX validation.
* Source language separation from WordPress locale.

= 1.6 =
* Translation instruction handling improvements.
* Improved uninstall logic.

= 1.5 =
* Multilingual routing improvements.
* Front page translation support.

= 1.4 =
* Tone presets.
* AJAX refactor.

= 1.3 =
* Language switcher shortcode.

= 1.2 =
* Initial public release.

== Upgrade Notice ==

= 1.9.1 =
Improved admin UI, clearer documentation, and updated external service disclosure.

== External Services ==

REEID Translate connects to OpenAI to provide AI translation and OpenAI API key validation.

= OpenAI =

This plugin connects to OpenAI’s API when an authorized site administrator requests AI-powered functionality, such as translating content or validating the saved OpenAI API key.

Service provider: OpenAI
Service URL: https://platform.openai.com/

Data sent to OpenAI may include the source content being translated, selected source and target languages, tone settings, slug text, and navigation menu labels.

The plugin also sends the saved OpenAI API key to OpenAI when validating the key or making an authorized API request.

Data is sent only when an authorized site administrator starts or saves a feature that requires OpenAI processing.

OpenAI Terms of Use:
https://openai.com/policies/terms-of-use

OpenAI Privacy Policy:
https://openai.com/policies/privacy-policy

== License ==

REEID Translate is licensed under GPL-3.0-or-later.