*** Weglot Translate Changelog ***

= 2026-04-27 version 6.1 (06/07/2026) =
* Improvement: Introduces V2 admin experiences wired through new JS entry points: live private API key checks against get_project_settings, a two-step onboarding flow, and a dashboard with dirty-state save bar, AJAX weglot_save_settings_v2, toasts, copy-to-clipboard, and read-only language pickers. Private mode admin init is dropped in favor of workspace info.
* Fix: The Original language dropdown in admin settings no longer lists Brazilian Portuguese (pt-br).
* Improvement: Adds a third-party integration for the Minimal Coming Soon & Maintenance Mode WordPress plugin
* Improvement: Fixes translated pages going blank when link rewriting hits <a> (and similar) tags with very long attribute strings—e.g. JSON in data-*—where internal preg_replace can return null and that value was assigned straight into the page HTML.
* Improvement: WooCommerce order language persistence now hooks woocommerce_checkout_order_created and woocommerce_store_api_checkout_order_processed instead of woocommerce_new_order, so checkout language is saved for classic checkout and Store API / block checkout.
* Improvement: Prevents the dynamic translation JS (Weglot.initialize) from falling back to translating the entire page when selector lists are misconfigured.
* Improvement: When media_enabled is disabled, the parser now also removes the \Weglot\Parser\Check\Dom\ImageSourceSet DOM checker, preventing srcset image sources from being processed/translated along with src and data-src.
* Improvement: Internal wp_redirect targets now keep the active language prefix on the front-end (e.g. an /about-us → /about redirect resolves to /fr/about when browsing in French); admin and AJAX redirects are untouched and it can be disabled with the weglot_active_wp_redirect filter.
