=== WTranslator ===
Contributors: wtranslator
Tags: translation, multilingual, google translate, language, internationalization
Requires at least: 5.0
Tested up to: 6.9
Stable tag: 1.0.1
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Make your WordPress site multilingual with Google Translate. Visitors can read your content in their preferred language.

== Description ==

WTranslator makes your website multilingual with just a few clicks. Your visitors can instantly switch between languages and read your content in their preferred language - no manual translation needed!

**How it helps your visitors:**
* Read your website in their native language
* Switch languages with a simple click
* Optional automatic language suggestion from the browser (and Cloudflare country header when available), if you enable it in settings
* Their language choice is remembered for future visits

**What makes it great:**
* **100+ Languages** - From English and Spanish to Chinese, Arabic, and everything in between
* **Beautiful Language Switcher** - Elegant dropdown or flag icons that match your site design
* **Lightweight** - Translation runs in the visitor’s browser via Google’s translate script; no API key is required
* **Powered by Google Translate** - Uses Google's translation technology to help translate your content
* **Works Everywhere** - Compatible with any WordPress theme and most plugins

**Perfect for:**
* Business websites reaching international customers
* Blogs with a global audience
* E-commerce stores selling worldwide
* Educational content for diverse learners
* Any website that wants to welcome visitors in their own language

== Installation ==

**Getting Started is Easy:**

1. Install WTranslator from your WordPress dashboard (Plugins → Add New → Search "WTranslator")
2. Activate the plugin
3. Go to Settings → WTranslator
4. Choose which languages you want to offer
5. Pick your language switcher style (dropdown or flags)
6. Save and you're done!

Your visitors will now see a language switcher on your site and can choose their preferred language.

== Frequently Asked Questions ==

= Do I need to translate my content manually? =

No! WTranslator uses Google Translate to translate your content when visitors view the site in another language. Activate the plugin, choose your languages, and content is translated for visitors on demand.

= How many languages can I offer? =

You can enable as many languages as you want from our list of 100+ supported languages, including English, Spanish, French, German, Portuguese, Chinese, Japanese, Arabic, Russian, and many more.

= Will my visitors' language choice be remembered? =

Yes! When a visitor selects a language, WTranslator remembers their choice so they don't have to select it again on their next visit.

= Does this slow down my website? =

The plugin adds a small script and style bundle. Page HTML is still served by WordPress as usual; translation work happens in the visitor’s browser when they choose another language, similar to using Google Translate in the browser.

= Can visitors switch back to the original language? =

Absolutely! The language switcher always shows all available languages, so visitors can easily switch back and forth.

= Do I need technical knowledge to use this? =

Not at all! WTranslator is designed to be simple. Just install, choose your languages, and it works automatically.

== Screenshots ==

1. Language switcher with dropdown menu - visitors can easily select their language
2. Flag-style language switcher - clean and minimal design
3. Settings page - simple configuration in just a few clicks

== External services ==

This plugin uses the following third-party service:

* **Google Translate** – Translation runs in the visitor's browser via Google's Translate Element. No API key required. See: [Google Terms of Service](https://policies.google.com/terms), [Google Privacy Policy](https://policies.google.com/privacy).


* **Auto-detect (no third-party)** – Uses only browser Accept-Language and Cloudflare header when present. No IP sent to any service.

== Changelog ==

= 1.0.1 =
* Maintenance update and compatibility improvements.
* Improved language URL handling to keep frontend URLs clean.

= 1.0.0 =
* Initial release
* Support for 100+ languages
* Browser-side translation via Google Translate Element
* Beautiful language switcher (dropdown, flags, flags + name)
* Optional auto-detection of visitor language from browser headers

== Upgrade Notice ==

= 1.0.1 =
Maintenance release with language URL and compatibility improvements.

= 1.0.0 =
Welcome to WTranslator! Make your website speak every language with just a few clicks.
