=== Easy I18n ===
Contributors: michelanjos
Tags: multilingual, translation, i18n, internationalization, localization
Requires at least: 5.8
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

Lightweight inline translation plugin for static content and Elementor. No page duplication.

== Description ==

Easy I18n is a lightweight inline translation plugin that lets you add multilingual content directly in your HTML, templates, or Elementor blocks — without duplicating pages or dealing with complex UI.

It focuses on a simple and modern workflow:
- Use HTML normally
- Mark text with `data-i18n`
- Add translations in a clean admin interface
- Show a minimal frontend language switcher
- Done.

This makes it ideal for:
- Landing pages
- SaaS sites
- Marketing funnels
- Elementor layouts
- Static content
- Headless-style frontends
- Low-maintenance multilingual sites

No page duplication.
No heavy UI.
No lock-in.

Just fast, simple multilingual content.

== Features ==

* Inline translations with `data-i18n`
* No page duplication
* Works with Elementor and static HTML
* Lightweight language switcher (via shortcode)
* Designer-friendly admin UI
* Supports HTML inside translations
* Automatic language fallback
* Multi-language support in admin UI

Admin available in:
- Arabic
- Chinese (Simplified)
- Dutch
- English
- French
- German
- Italian
- Japanese
- Korean
- Polish
- Portuguese (Brazil)
- Spanish

== Usage ==

1. Add language switcher using the shortcode:
   `[easyi18n_switcher]`

2. Mark text:
   `<h2 data-i18n="hero.title">Fallback text</h2>`

3. Add translations in the admin UI

4. Save and refresh page

The plugin loads translations automatically based on current language.

== Screenshots ==

1. Language switcher
2. Admin: Languages
3. Admin: Translations
4. Admin: Settings

== Installation ==

1. Upload the plugin files to `/wp-content/plugins/easy-i18n`
2. Activate the plugin through the “Plugins” screen in WordPress
3. Add the language switcher: `[easyi18n_switcher]`
4. Add translation keys in admin
5. Use `data-i18n` tags in your HTML or Elementor

== Frequently Asked Questions ==

= Does this duplicate pages? =
No. Easy I18n is inline. Everything happens in the same page.

= Does this work with Elementor? =
Yes. Just use HTML blocks or custom templates.

= Can I use HTML inside translations? =
Yes, including tags and links.

= Does it support right-to-left languages? =
Yes.

= Will this slow down my site? =
No. The plugin loads a small JSON file per language.

== Support ==

This is a community project, but development is supported by donations.

If this plugin helps your work, please consider supporting its maintenance and development on Ko-fi: https://ko-fi.com/micheldosanjos

Support may be limited or delayed.

== Contributing ==

Pull requests and translations are welcome.

== Changelog ==

= 1.0.0 =
- First public release
- Added admin interface translations
- Added multiple language support in admin UI
- Improved UX and accessibility

== License ==

GPLv2 or later
https://www.gnu.org/licenses/gpl-2.0.html
