=== Lugath Translate ===
Contributors: lugath
Tags:  translation, localization, translation plugin, localization plugin, multilingual SEO
Requires at least: 5.6
Tested up to: 6.8
Stable tag: 1.0.1
Requires PHP: 7.2
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Lugath uses AI to make your WordPress site multilingual in minutes — with client and server-side rendering (SSR) support and zero coding required.

== Description ==

### What is Lugath

Lugath is a developer-friendly, AI-based translation plugin that allows you to localize your WordPress website effortlessly. With instant translations, SSR-compatible proxy mode, and full REST API access. Even for SPAs, JAMstack sites, and React-based frontends (CRA).

### Translate your site globally in seconds

Lugath helps you turn your WordPress website into a multilingual experience — instantly. Whether you're running a simple blog or a complex, headless architecture with React or CRA, Lugath brings seamless AI translation and real-time rendering to the table.

It’s designed for developers, marketers, and SEO experts alike — combining power and simplicity with clean HTML output and maximum performance.


### Why Lugath?

**Built for performance**  
Lugath uses proxy-based translation with zero configuration, rendering translated HTML server-side. This means faster load times, better SEO, and zero layout shifts on load.

**SSR + SPA compatible**  
Works out of the box with modern JavaScript frontends like Create React App (CRA), Next.js, or any SPA setup. Lugath offers REST endpoints for tight frontend integration.

**No code required**  
You don’t have to modify templates or wrap content in special tags. Lugath handles translation on-the-fly using your site’s rendered HTML.

**SEO-friendly by design**  
Every translated page is crawlable and indexable. With clean URLs and proper structure, Lugath helps you rank in every language you speak.

**Instant global reach**  
Don’t settle for a single market. Go global and unlock multilingual traffic using automated translation powered by leading AI providers.


== How to Get an API Key ==
To use Lugath Translate, you need an API key. Follow these steps to obtain your API key:

1. **Go to [https://app.lugath.com](https://app.lugath.com) and create a new account.**
2. **In the menu, navigate to the "Website" section and click the "Connect" button.**
3. **Enter your website name.**
4. **Select Wordpress as your website technology**
5. **Select the original language of your website.**
6. **Choose the target languages you want to translate into.**
7. **Enter your website domain.**
8. **Once completed, you will see the generated Integration key. Copy it.**
9. **Paste the Integration key into the "Lugath" settings in your WordPress admin panel.**
10. **Visit your website and check if the language switcher appears in the bottom right corner.**
   If the switcher is visible, the script is correctly loaded.

### **Enabling Server-Side Rendering (SSR)**
If you want to enable **server-side rendering (SSR)**:
1. **Go to [https://app.lugath.com](https://app.lugath.com) and open your website settings.**
2. **Navigate to the "General" tab under "Site Settings."**
3. **Enable the "Server-Side Rendering" option.**
4. **Go to "Lugath" settings in your WordPress admin panel.**
5. **Enable server-side redirection**
6. **Then select the langauges from Proxy Redirect Language List**

Once enabled, translated pages will be stored and served via Lugath's CDN.

== Installation ==
1. **Go to the WordPress admin panel.**
2. **Navigate to Plugins > Add New > Upload Plugin.**
3. **Upload the ZIP file and activate the plugin.**
4. **Go to the "Lugath Translation" section in the admin menu and enter your API key.**

== Frequently Asked Questions ==
= How does the plugin work? =
Lugath Translate adds a language switcher and automatically translates content using AI. It integrates with your website via an API key.

= Does it support SEO? =
Yes! The plugin generates hreflang tags and supports server-side rendering (SSR) to ensure search engines index your translated pages correctly.

= Is WooCommerce supported? =
Yes, product descriptions, categories, and meta information can be translated automatically.

== Screenshots ==
1. **Admin panel with API key input.**
   ![Admin panel](assets/screenshots/screenshot-1.png)
1. **Admin panel Lugath Settings.**
   ![Lugath Settings](assets/screenshots/screenshot-2.png)
3. **Language switcher settings.**
   ![Language switcher](assets/screenshots/screenshot-3.png)

== Changelog ==
= 1.0 =
* Initial release of Lugath Translate plugin
* Supports automatic AI translation
* Includes SEO-friendly translations and hreflang tags
* Provides API key-based integration

== Upgrade Notice ==
= 1.0 =
First release of Lugath Translate. Get started with AI-powered translations today!
