=== Translate Multilingual sites - TranslatePress ===
Contributors: cozmoslabs, razvan.mo, madalin.ungureanu, sareiodata, cristophor
Donate link: https://www.translatepress.com/
Tags: translate, translation, multilingual, automatic translation, bilingual, front-end translation, google translate, language
Requires at least: 3.1.0
Tested up to: 6.8.1
Requires PHP: 5.6.20
Stable tag: 2.9.13
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Translate your entire site directly from the front-end and go multilingual. Full support for WooCommerce, page builders + Google Translate integration

== Description ==

**Experience a better way to translate your WordPress site and go multilingual, directly from the front-end using a visual translation interface.**

TranslatePress is a [WordPress translation plugin](https://translatepress.com/?utm_source=wp.org&utm_medium=tp-description-page&utm_campaign=TPFree) that anyone can use.

The interface allows you to easily translate the entire page at once, including output from shortcodes, forms and page builders. It also works out of the box with WooCommerce.

Built the WordPress way, TranslatePress - Multilingual is a GPL and self hosted translation plugin, meaning you'll own all your translations, forever. It's the fastest way to create a bilingual or [multilingual site](https://translatepress.com/how-to-create-a-multilingual-wordpress-site/?utm_source=wp.org&utm_medium=tp-description-page&utm_campaign=TPFree).

https://www.youtube.com/watch?v=pUlYisvBm8g

== Multilingual & Translation Features ==

* Translate all your website content directly from the front-end, in a friendly user interface (translations are displayed in real-time).
* Fully compatible with all themes and plugins
* Live preview of your translated pages, as you edit them.
* [Image translation](https://translatepress.com/docs/image-translation/?utm_source=wp.org&utm_medium=tp-description-page&utm_campaign=TPFree) support, for [translating images, sliders and other media](https://translatepress.com/translate-images-in-wordpress/?utm_source=wp.org&utm_medium=tp-description-page&utm_campaign=TPFree).
* Support for both manual and automatic translation
* Ability to [translate dynamic strings](https://translatepress.com/translate-dynamic-strings-wordpress/?utm_source=wp.org&utm_medium=tp-description-page&utm_campaign=TPFree) (gettext) added by WordPress, plugins and themes.
* Integrates with Google Translate, allowing you to set up Automatic Translation using your own Google API key.
* Translate larger html blocks by merging strings into translation blocks.
* Place language switchers anywhere using shortcode **[language-switcher]**, WP menu item or as a floating dropdown.
* Editorial control allowing you to publish your language only when all your translations are done
* Conditional display content shortcode based on language [trp_language language="en_US"] English content only [/trp_language]
* Possibility to [edit gettext strings](https://translatepress.com/edit-plugin-strings/?utm_source=wp.org&utm_medium=tp-description-page&utm_campaign=TPFree) from themes and plugins from English to English, without adding another language. Basically a string-replace functionality.
* Translate only certain paths and [exclude content from being translated](https://translatepress.com/partially-translate-wordpress-exclude-posts-pages-products/?utm_source=wp.org&utm_medium=tp-description-page&utm_campaign=TPFree)
* Translation Block feature in which you can translate multiple html elements together
* Native **Gutenberg** support, so you can easily [translate Gutenberg blocks](https://translatepress.com/translate-gutenberg-blocks-in-wordpress/?utm_source=wp.org&utm_medium=tp-description-page&utm_campaign=TPFree)
* Out of the box [WooCommerce](https://translatepress.com/translate-woocommerce-products-translatepress/?utm_source=wp.org&utm_medium=tp-description-page&utm_campaign=TPFree) compatibility
* Use our [FREE Website Translation](https://translatepress.com/free-website-translation-tool-widget/?utm_source=wp.org&utm_medium=tp-description-page&utm_campaign=TPFree) tool/widget to browse any website into your own language.

Note: this plugin uses the Google Translation API to translate the strings on your site. This feature can be enabled or disabled according to your preferences.

Users with administrator rights have access to the following settings:

* select default language of the website and one translation language, for bilingual sites
* choose whether language switcher should display languages in their native names or English name
* force custom links to open in current language
* enable or disable url subdirectory for the default language
* enable automatic translation via Google Translate

== Powerful Translation Add-ons ==

TranslatePress - Multilingual has a range of [premium Add-ons](https://translatepress.com/?utm_source=wp.org&utm_medium=tp-description-page&utm_campaign=TPFree) that allow you to extend the power of this WordPress translation plugin:

**Pro Add-ons** (available in the [premium versions](https://translatepress.com/pricing/?utm_source=wp.org&utm_medium=tp-description-page&utm_campaign=TPFree) only)

* [TranslatePress AI](https://translatepress.com/ai/?utm_source=wp.org&utm_medium=tp-description-page&utm_campaign=TPFree) - automatically translate your entire website without extra platforms to sign up for, API keys and additional translation costs. Each premium version includes a set number of AI translated words you can use to instantly translate your site, saving you both time and money.
* [Extra Languages](https://translatepress.com/docs/addons/multiple-languages/?utm_source=wp.org&utm_medium=tp-description-page&utm_campaign=TPFree) - allows you to add an unlimited number of translation languages, with the possibility to publish languages later after you complete the translation
* [SEO Pack](https://translatepress.com/docs/addons/seo-pack/?utm_source=wp.org&utm_medium=tp-description-page&utm_campaign=TPFree) - lets you translate meta information (like page title, description, url slug, image alt tag, Twitter and Facebook Social Graph tags & more) for boosting your multilingual SEO and increase traffic. Works with all popular SEO plugins.
* [Translator Accounts](https://translatepress.com/docs/addons/translator-accounts/?utm_source=wp.org&utm_medium=tp-description-page&utm_campaign=TPFree) - create or allow existing users to translate the site without admin rights
* [Browse as User Role](https://translatepress.com/docs/addons/browse-as-role/?utm_source=wp.org&utm_medium=tp-description-page&utm_campaign=TPFree) - view and translate content that is visible only to a particular user role
* [Navigation Based on Language](https://translatepress.com/docs/addons/navigate-based-language/?utm_source=wp.org&utm_medium=tp-description-page&utm_campaign=TPFree) - configure and display different menu items for different languages
* [Automatic User Language Detection](https://translatepress.com/docs/addons/automatic-user-language-detection/?utm_source=wp.org&utm_medium=tp-description-page&utm_campaign=TPFree) - redirect first time visitors to their preferred language based on their browser settings or IP address
* [DeepL Automatic Translation](https://translatepress.com/docs/addons/deepl-automatic-translation/?utm_source=wp.org&utm_medium=tp-description-page&utm_campaign=TPFree) - The DeepL Automatic Translation add-on lets you automatically translate your website through the DeepL API

**Keyboard Shortcuts**

* **CTRL ( ⌘ ) + S** – Save translation for the currently editing strings
* **CTRL ( ⌘ ) + ALT + Z** – Discard all changes for the currently editing strings
* **CTRL ( ⌘ ) + ALT + →** (Right Arrow) – Navigate to next string
* **CTRL ( ⌘ ) + ALT + ←** (Left Arrow) – Navigate to previous string

= Website =

[translatepress.com](https://translatepress.com/?utm_source=wp.org&utm_medium=tp-description-page&utm_campaign=TPFree)

= Documentation =

[Visit TranslatePress WordPress Translation plugin documentation page](https://translatepress.com/docs/translatepress/?utm_source=wp.org&utm_medium=tp-description-page&utm_campaign=TPFree)

= Add-ons =

[Add-ons](https://translatepress.com/docs/translatepress/?utm_source=wp.org&utm_medium=tp-description-page&utm_campaign=TPFree)

= Demo Site =

You can test out TranslatePress - Multilingual plugin by [visiting our demo site](https://demo.translatepress.com/)

== Installation ==

1. Upload the translatepress folder to the '/wp-content/plugins/' directory
2. Activate the plugin through the 'Plugins' menu in WordPress
3. Go to Settings -> TranslatePress and choose a translation language.
4. Open the front-end translation editor from the admin bar to translate your site.

== Frequently Asked Questions ==

= Where are my translations stored? =

All the translation are stored locally in your server's database.

= What types of content can I translate? =

TranslatePress - Multilingual plugin works out of the box with WooCommerce, custom post types, complex themes and site builders, so you'll be able to translate any type of content.

= How is it different from other multilingual & translation plugins like WPML or Polylang? =

TranslatePress is easier to use and more intuitive altogether. No more switching between the editor, string translation interfaces or badly translated plugins. You can now translate the full page content directly from the front-end. This makes TranslatePress a great alternative to plugins like Polylang and WPML. For more details check out this [WordPress Translation Plugin Comparison: TranslatePress vs WPML vs Polylang vs Gtranslate](https://translatepress.com/wordpress-translation-plugin-comparison-translatepress-vs-free-and-paid-alternatives/translate-woocommerce-products-translatepress/?utm_source=wp.org&utm_medium=tp-description-page&utm_campaign=TPFree).

= How do I start to translate my WordPress site? =

After installing the plugin, select your secondary language and click "Translate Site" to start translating your entire site exactly as it looks in the front-end.

= Will it slow down my website? =

TranslatePress will have little impact on your site speed. For more details see [Top WordPress Translation Plugins Compared Based on Page Load Time](https://translatepress.com/top-wordpress-translation-plugins-compared-based-on-page-load-time/?utm_source=wp.org&utm_medium=tp-description-page&utm_campaign=TPFree)

= Can you translate your WooCommerce store? =

Yes, TranslatePress works out of the box with WooCommerce. You can use to build a [multilingual WooCommerce store](https://translatepress.com/translate-woocommerce-products-translatepress/?utm_source=wp.org&utm_medium=tp-description-page&utm_campaign=TPFree).

= Where can I find out more information? =

For more information please check out our [documentation](https://translatepress.com/docs/translatepress/?utm_source=wp.org&utm_medium=tp-description-page&utm_campaign=TPFree).


== Screenshots ==
1. TranslatePress front-end visual translation editor in action
2. Front-end translation editor used to translate the entire page content
3. How to translate a dynamic string (gettext)
4. Translating WooCommerce Products for your multilingual store
5. Translate Images and Image Sliders
6. Settings Page
7. Floating Language Switcher
8. Menu Language Switcher


== Changelog ==
= 2.9.13 =
* Added support for translating tags and all other taxonomies through REST API
* Added hook trp_error_details for triggering actions when encountering an error
* Fixed quota wording for TP AI in Automatic Translation tab

= 2.9.12 =
* Reduced the number of unnecessary calls to TP AI translation engine in some cases when daily quota was exceeded
* Fixed incorrectly machine translating callto, mailto and tel from href attributes when browsing these strings in String Translation

= 2.9.11 =
* Updated Translation Editor to Vue 3.5 framework resulting in reduced loading time and improved security
* Fixed edge case with translation blocks on translated pages accidentally removing a parent html tag
* Reduced the number of unnecessary calls to TP AI translation engine

= 2.9.10 =
* Fixed error on Automatic Translation tab from TranslatePress Settings when trying to remove the machine translation limit
* Fixed admin notice positioning when exceeding daily quota

= 2.9.9 =
* Fixed compatibility issue with Query Monitor plugin
* Fixed edge case issue with changing languages in Translation Editor when removing country from hreflang option was used
* Fixed edge case php error when WP Cache was disabled
* Fixed css on plugin stats opt-in pop-up from TranslatePress Settings

= 2.9.8 =
* Fixed issue with language switcher not showing all languages on non-admin visits for free version users that manually changed TranslatePress settings in version 2.9.7
* Fixed error about undefined constant TRP_IN_EL_PLUGIN_DIR for paid version users in case Multiple Languages add-on was disabled
* Fixed automatic user language detection settings not appearing for paid version users in case Multiple Languages add-on was disabled
* Fixed html lang attribute declaration on formal languages
* Fixed edge case triggering php warnings when opening Translation Editor

= 2.9.7 =
* Redesigned TranslatePress Settings UI
* Improvements to the plugin stats API
* Fixed insecure use of serialization function on request parameters
* Fixed edge case issue with untrimmed home url preventing functioning on secondary languages

= 2.9.6 =
* Added support for translating html tags "picture" and "audio"
* Improved query efficiency for removing duplicate entries when running Database Optimization
* Fixed compatibility issue with Blocksy in Customizer

= 2.9.5 =
* Added support for video tag in order to show different videos according to selected language
* Added compatibility for Elementor element caching on additional languages
* Added compatibility with Profile Builder redirects after registration and edit profile forms
* Reduced requests to TP AI when quota is unavailable
* Fixed redirecting to wrong language after checkout in some cases

= 2.9.4 =
* Fixed potential security issue by preventing direct access to files
* Extended keyword search in String Translation UI to return results from translations too, alongside matching default language text, for Gettext, Email and Regular strings
* Added new feature to delete translations in String Translation UI, individually or in bulk, for Gettext, Email and Regular strings
* Fixed incorrect translated urls in the page when reordering languages and using subdirectory for default language, while also excluding certain paths from translation
* Fixed edge case PHP error in ajax request for front-end translations
* Fixed edge case PHP error between Gutenberg language restrictions and WP Interactivity API
* Fixed edge case PHP error argument must be of type string

= 2.9.3 =
* Fixed form action losing GET parameters on translated pages

= 2.9.2 =
* Fixed not setting srcset attributes properly for translated images

= 2.9.1 =
* Added Gutenberg Language Restriction option to allow for easily including/excluding blocks in specific languages
* Fixed PHP notice in WP 6.7: function _load_textdomain_just_in_time was called incorrectly
* Fixed translating internal links from inside translation blocks
* Fixed edge case with some excluded paths redirecting translated urls to incorrect original urls

= 2.9.0 =
* Improved database management by no longer inserting non-translated external URLs and images
* Fixed detecting the same email address multiple times due to antispambot outputting it in different encodings
* Fixed Translation Editor pencil icon positioning
* Fixed Translation Editor when viewing in RTL language
* Fixed php error occurring in some cases when translating WooCommerce emails
* Fixed deprecated notice in PHP 8 regarding rtrim function

= 2.8.9 =
* Fixed WooCommerce emails being sent in default language instead of user's language when placing order as non-logged in guest on a Blocks checkout form
* Fixed trp-gettext wrappings appearing on WooCommerce Blocks checkout form
* Added admin notifications about Black Friday sale

= 2.8.8 =
* Fixed compatibility with CTX Feed plugin
* Improved security by doing a capability check on activating/deactivating license
* Added new parameter to hook trp_translate_this_href

= 2.8.7 =
* Fixed url slug handling. It's recommended to back-up your database before updating
* Fixed admin notices text

= 2.8.6 =
* Fixed version difference between TranslatePress plugins causing infinite loop and php errors when having specific settings
* Fixed some cases of grayed out translation input box in String Translation Regular tab
* Fixed showing Run the update notice in various cases
* Fixed Translation Editor translation boxes showing incorrect values after saving translations in some cases
* Fixed JS error in Advanced tab

= 2.8.5 =
* Fixed url slug handling
* Fixed pencil icon not showing in correct place for some themes
* Added filter trp_mtapi_chunk_size to change the number of string sent in one batch to TP AI
* Added correct flag for Kurdish(Sorani) language
* Fixed edge case issue with trp_settings db option saved incorrectly leading to php errors
* Fixed PHP 8 deprecated notice when calling rtrim

= 2.8.4 =
* Major refactoring of url slugs handling. It's recommended to back-up your database before updating
* Numerous fixes including support for WooCommerce custom permalinks, custom post permalinks, permalinks without base category

= 2.8.3 =
* Fixed errors in Multisite leading to targeting incorrect subsite tables for some strings
* Fixed TranslatePress Editor pencil icon's incorrect placement in some cases
* Fixed deprecated notice when translating WooCommerce emails

= 2.8.2 =
* Added support for Chinese Traditional automatic translations when using TP AI
* Fixed menu language switcher not showing native language names when option was selected
* Improved positioning of Edit button in the visual Translation Editor
* Fixed edge case where TP AI automatic translation was always the same as the original

= 2.8.1 =
* Fixed menu language switcher showing Current Language instead of actual language name

= 2.8.0 =
* Added compatibility with PWA plugin
* Added missing flag for Kyrgyz language
* Fixed menu language switcher labels not being taken into account
* Fixed issue with custom css being broken on translated language
* Fixed notice related to language switcher inside Elementor content

= 2.7.9 =
* Fixed issue on checkout page when using BABE Payment Pack
* Fixed issue showing Unsupported languages when changing API key
* Fixed CSS issue with language switcher shortcode in Elementor pop-up
* Fixed deprecated PHP notice when using rtrim function
* Fixed edge case issue with license being invalid on Automatic Translation tab

= 2.7.8 =
* Fixed compatibility with older versions of PHP 7

= 2.7.7 =
* New Feature: TranslatePress AI translation engine
* Fixed Translate Page button missing in Gutenberg Editor
* Fixed edge case issue where specific style tags were detected for translation

= 2.7.6 =
* Fixed nonce issue on the Database Optimization form
* Fixed edge case issue with the Automatic Translation settings default values

= 2.7.5 =
* Improved page load speed by caching translation blocks query
* Improved page load speed by adding index by block type
* Fixed frequency of diagnostics usage requests when Marketing Opt-in is active

= 2.7.4 =
* Fixed compatibility issue with WP Job Board Pro PDFs
* Fixed compatibility issue with Brikk theme forms
* Fixed scanning plugins and theme files for translation when Oxygen is active

= 2.7.3 =
* Improved automatic translation character count to better enforce enforce daily limit
* When Marketing opt-in feature is enabled, automatic translation usage is included in the non-sensitive diagnostic tracking data
* Added support for translating more meta tags

= 2.7.2 =
 * Fixed translation saved confirmation message in the Translation Editor
 * Fixed CSS issue in Advanced settings
 * Fixed notice in TranslatePress settings

= 2.7.1 =
* Fixed potential security issue in the language switcher
* Fixed floating language switcher appearance when displaying only flags on sites with many languages
* Minor UI tweaks in TranslatePress settings

= 2.7.0 =
* Fixed issue with Exclude only certain paths advanced option on subfolder path installs
* Improved Error Manager by outputting the entire failed query
* Improved SQL error handling in trp-ajax calls 

= 2.6.9 =
* Added compatibility with WooCommerce Product Filters by barn2

= 2.6.8 =
* Fixed relative urls with anchor links on translated pages
* Fixed searching in translated languages on sites with specific plugins combination

= 2.6.7 =
* Added new feature that displays translation percentage for current page in Translation Editor
* Added RSS Feed support for translating title, content and excerpt
* Added support for Duplicate Page plugin resolving post slug translation conflict
* Added compatibility with Fluent Forms
* Added compatibility with WooCommerce Bookings plugin
* Added WP Webhooks Automator under recommended plugins
* Fixed deprecated warning in PHP 8.1

= 2.6.6 =
* Allow translation of comments and categories in REST API
* Improved compatibility with Complianz plugin
* Improved rules for creating translation blocks

= 2.6.5 =
* Fixed some cases of unnecessarily detecting text inside script tags
* Fixed compatibility code with Oxygen

= 2.6.4 =
* Improved page loading speed when WooCommerce is active
* Fixed some cases of errors on function insert_gettext_string
* Fixed edge case issue with missing tables

= 2.6.3 =
* Improved page loading speed by optimizing code handling gettext
* Improved page loading speed when Query Monitor plugin is active
* Fixed internal links not being translated when using Do not translate certain paths feature
* Fixed trp-gettext wrappings on Query Monitor strings
* Fixed flag for Hindi and Punjabi (India) languages

= 2.6.2 =
* Fixed absolute paths not working in the Exclude Paths From Translation option
* Fixed Pencil icon displayed in wrong positions on WP Forms in the Translation Editor
* Added missing Sindhi language flag
* When Marketing opt-in feature is enabled, list of active plugins is now included in the non-sensitive diagnostic tracking data
* Updated logos for Profile Builder and Paid Member Subscriptions in the recommended plugins section

= 2.6.1 =
* Improved DOM parser to better handle HTML comments
* Improved Database optimization tool's default operations

= 2.6.0 =
* Fixed some cases of 404 on translated pages for WooCommerce permalinks
* Improved compatibility with RankMath

= 2.5.9 =
* Added loader component as extra parameter in trp_allow_tp_to_run hook to ease integration with 3rd parties
* Fixed edge case error with undefined variable $disabled_language
* Fixed notice about deprecated property in php 8.2
* Fixed edge case error in class-error-manager.php file

= 2.5.8 =
* Fixed some cases of disappearing CPT slugs translations leading to 404 pages
* Fixed incorrectly adding empty href attributes to link tags on translated pages
* Fixed PHP 8 deprecated notices regarding dynamically defined properties

= 2.5.7 =
* Added a new item in Database optimization tool to fix some cases of gettext not being selectable in Translation Editor
* Fixed Edit pencil icon being difficult to click when hovering over certain text in Translation Editor
* Added compatibility with WooCommerce High-Performance Order Storage (HPOS)
* Improved compatibility with WP Rocket

= 2.5.6 =
* Improved settings UI by showing formality option only for languages and translation engines that support it
* Fixed focus on search input when opening the languages dropdown in settings
* Removed unnecessary calls for Marketing opt-in feature

= 2.5.5 =
* Redesigned TranslatePress Settings Advanced tab UI using subtabs
* Improved the translation status icons for the case when multiple strings are shown at once in Translation Editor
* Fixed deprecated notice on php 8

= 2.5.4 =
* Updated look of language switchers for shortcode generated and floating options
* Added notice in TranslatePress settings to avoid adding duplicate languages with different formalities
* Fixed deprecated warning triggered by date_create function
* Fixed bug with some strings not being editable in Translation Editor

= 2.5.3 =
* Improved security by escaping form actions
* Fixed filtering by gettext domain in String Translation
* Fixed title positioning in String Translation UI
* Added more information in our opt-in non-sensitive diagnostic tracking

= 2.5.2 =
* Redesigned Translation Editor UI to match the latest WordPress style
* Fixed hreflang language code attribute for languages with formal/informal in their default code
* Added missing Aragonese language flag

= 2.5.1 =
* Added Language Switcher block in Gutenberg Editor
* Fixed edge case error regarding __return_true function

= 2.5.0 =
* Improved converting urls in different languages
* Fixed language switcher directing to page not found in some edge cases

[Click Here](https://translatepress.com/docs/translatepress-free-changelog/?utm_source=wp.org&utm_medium=tp-description-page&utm_campaign=TPFree) to view the full changelog.