=== AtlantisFX Locale Switcher – Language & Currency ===
Tags: currency, geolocation, language, woocommerce
Requires at least: 6.5
Tested up to: 7.1
Requires PHP: 8.1
Stable tag: 0.10.0
License: GPLv3 or later
License URI: https://www.gnu.org/licenses/gpl-3.0.html

Let visitors choose their language and currency independently. Show local estimates or enable supported checkout currencies in WooCommerce.

== Installation ==
1. Upload the ZIP using Plugins > Add New > Upload Plugin. Activate it.
2. Open Settings > AtlantisFX language & currency. Enter the languages you publish and their same-site home URLs, or use your multilingual plugin.
3. Configure country detection. Use WooCommerce's local MaxMind integration, your licensed local country .mmdb file, or a trusted reverse proxy that supplies the visitor's country.
4. Choose an exchange-rate source in Currencies & rates. Manual rates work without a key. Dated daily reference quotes can be fetched without a paid account. Twelve Data quotes use your store's own credentials.
5. Add the AtlantisFX Language & Currency block to a header, select a classic menu location, or place [atlantisfx_switcher] in an Elementor/WoodMart shortcode widget.
6. The default checkout uses the store currency. To charge in another currency, enable that mode, configure accepted currencies per payment gateway and test a sandbox transaction.

== Shortcodes ==
[atlantisfx_switcher]
[atlantisfx_switcher parts="language" layout="panel"]
[atlantisfx_switcher parts="currency" layout="inline"]
[atlantisfx_switcher parts="country"]

== Documentation ==
docs/GUIDE-FA.md contains the Persian setup guide. docs/GUIDE-EN.md contains operations and integration notes. docs/VERIFICATION.md lists the exact environments, observed results and unverified third-party combinations. Source code ships in this ZIP. Third-party notices are under licenses/.

== External services and privacy ==

All local features work without an AtlantisFX account. The default manual rate provider makes no rate requests. Preference cookies store market, language and currency choices. Geolocation uses locally available data or headers from explicitly configured trusted proxies. The included reader contains no MaxMind database. A store opting into WooCommerce geolocation manages its database and licensing in WooCommerce.

When the administrator selects Frankfurter, scheduled refreshes send the base currency and server network request metadata to api.frankfurter.dev for dated reference rates. These are display estimates. Information and terms: https://frankfurter.dev/

When the administrator selects Twelve Data and configures credentials, scheduled refreshes request the selected currency pair with the store API key from api.twelvedata.com. Confirm your own display and licensing rights. Terms: https://twelvedata.com/terms Privacy: https://twelvedata.com/privacy

Optional Google Cloud Translation sends selected source text, source and target languages and the store API credential directly to Google when an authorized editor requests a draft. Enable this only for content you are authorized to send. Terms: https://cloud.google.com/terms Privacy: https://cloud.google.com/terms/cloud-privacy-notice

== Screenshots ==
1. Country, language and currency picker with a dated exchange rate.
2. WordPress settings for header placement and appearance.
3. Mobile picker on a Persian right-to-left site.

== Changelog ==
= 0.10.0 =
* Keep all 0.9.0 settings, translations, orders and header integrations.
* Expose a product-specific checkout price filter for extensions without changing coupon, fee or shipping conversion.
* Document optional external services, request timing and data sent.

= 0.9.0 =
* Country and territory mappings, locally served flags and independent saved preferences.
* Published language maps, optional translation drafts and multilingual-plugin adapters.
* Manual, reference and timestamped provider rates, plus cart quote locks and stale-total protection.
* WordPress block, shortcode, classic-menu placement, Persian and English settings.
