=== Synapsis AI Translator ===
Contributors: synapsislab
Tags: ai, translation, google gemini, gutenberg, clone
Requires at least: 6.4
Tested up to: 6.9
Stable tag: 1.0.0
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Donate link: https://synapsislab.store/

Translate and clone your WordPress content instantly using Google Gemini AI directly inside the Block Editor.

== Description ==

**Synapsis AI Translator** brings the power of Google Gemini AI directly into your WordPress Gutenberg Editor. 

Stop switching tabs to translate your content. With this plugin, you can clone and translate your page structure and content into 20+ languages with a single click, maintaining your original layout and blocks perfectly.

### 🚀 Key Features

*   **Seamless Integration:** Works directly inside the Block Editor sidebar.
*   **AI-Powered:** Uses the latest Google Gemini models for natural and accurate translations.
*   **Smart Structure Retention:** Keeps your headings, images, and block layouts intact.
*   **20+ Languages included:** Support for English (UK), Italian, French, Dutch, Portuguese (PT), Polish, and more.
*   **Privacy Focused:** Uses your own API Key directly from Google.

> **Need more languages?**
> Upgrade to the **[PRO Version](https://synapsislab.store/wp-gemini-clone/)** for support for 100+ languages (including English US, Spanish, German, Chinese, Japanese, Russian, Arabic) and priority support.

### ⚡ How it works
1. Open any page or post in the Block Editor.
2. Click the Synapsis AI Translator icon (star icon) in the top-right toolbar.
3. Enter your free Google Gemini API Key.
4. Select the target language and click "Translate".
5. Watch as your content is cloned and translated in seconds!

== 3rd Party Service Disclosure ==

This plugin relies on a 3rd party service to provide content translation:

*   **Service:** Google Gemini AI (Generative Language API)
*   **Purpose:** Used for translating block content and cloning page structures.
*   **Data Sent:** This plugin sends the text content of the blocks you select for translation, along with the target language, to Google's Generative AI servers. No user-specific data, personal information, or site metadata is sent unless it is explicitly contained within the translation content itself.
*   **Terms of Service:** [https://ai.google.dev/terms](https://ai.google.dev/terms)
*   **Privacy Policy:** [https://policies.google.com/privacy](https://policies.google.com/privacy)

By using this plugin, you agree to the terms provided by Google for the use of their Generative Language API.

== Source Code ==

The source code for the JavaScript and CSS assets in this plugin is available in the `src` directory of the plugin package. 

**To build the project from source:**

1. Install dependencies:
`npm install`
2. Build for production:
`npm run build`
3. Start development mode:
`npm run start`

The build process uses `@wordpress/scripts`.

== Installation ==

1. Upload the plugin files to the `/wp-content/plugins/synapsis-ai-translator` directory.
2. Activate the plugin through the 'Plugins' screen in WordPress.
3. Open any post or page in the Block Editor.
4. Look for the "Synapsis AI Translator" icon in the top-right toolbar.

== Frequently Asked Questions ==

= Is this plugin free? =
Yes, this version is free and fully functional. We do not impose limits on the number of blocks or content translated per page.

= Do I need an API Key? =
Yes, you need a Google Gemini API Key. You can get one for free at [Google AI Studio](https://aistudio.google.com/app/apikey).

= Which languages are supported in this version? =
This version supports 20+ languages including English (UK), Italian, French, Dutch, Portuguese (PT), Polish, Turkish, Swedish, Danish, Norwegian, Finnish, Greek, Romanian, and more.

== Screenshots ==

1. The Synapsis AI Translator sidebar in action.
2. Selecting the target language.
3. The result: perfectly translated blocks.

== Upgrade Notice ==

= 1.0.0 =
Initial public release on WordPress.org. Stable and ready for use.

== Changelog ==

= 1.0.0 =
* Initial release on WordPress.org.
* Full compatibility with Gutenberg block structures.