FreedomTranslate WP

Description

FreedomTranslate WP is a lightweight plugin that translates your frontend WordPress content in real-time using a self-hosted instance of LibreTranslate or similar engine with remote URL and with API.

Features include:
* Real-time translation of posts, pages, titles, and other frontend content
* Caching system to reduce API requests
* Exclude posts or pages from translation via checkbox
* Admin settings for selecting available languages, managing cache, and excluded words
* Language selector via shortcode [freedomtranslate_selector]
* HTML-aware translation
* Works entirely offline with your own LibreTranslate instance or with a remote URL

No need for external APIs or translation keys — 100% self-hosted.

Usage

  • Use [freedomtranslate_selector] shortcode to show the language switcher
  • Set words to exclude from translation via settings page
  • Exclude specific posts/pages by checking the box in the editor sidebar
  • Cache can be cleared from settings

License

GPLv3 or later. See LICENSE.txt for full license.

Disclaimer

This plugin is not affiliated with or endorsed by LibreTranslate or its developers.
“LibreTranslate” is a collaborative open source project. The name is used solely to describe the API that this plugin interacts with.

Development

Contribute or report issues on GitHub:
https://github.com/OskarCosimo/FreedomTranslate-WP

Installation

  1. Download and extract the plugin zip
  2. Upload the folder to wp-content/plugins/freedomtranslate-wp
  3. Activate the plugin from the Plugins admin page
  4. Make sure LibreTranslate is running (default: http://localhost:5000)
  5. Optional: go to Settings > Freedom Translate to configure

FAQ

Can I use a remote LibreTranslate server?

Yes! You can change the API URL and port in the plugin settings.

What happens if LibreTranslate is not reachable?

The original untranslated text will be shown.

Reviews

ഈ പ്ലഗിന് റിവ്യൂകൾ ഒന്നുമില്ല.

Contributors & Developers

“FreedomTranslate WP” is open source software. The following people have contributed to this plugin.

Contributors

Translate “FreedomTranslate WP” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

1.9.6

Bump version to 1.9.6 and update language Handling

1.9.5

Updated to 1.9.5 and added WordPress locale with translation improvements

1.9.4

Update version to 1.9.4 and replace wp_rand()

1.9.3

Update version to 1.9.3 and add job cancellation

1.9.2

Bump version to 1.9.2 and update job Handling

1.9.1

Bump version to 1.9.1 and improve job status Handling

1.9.0

Updated plugin version to 1.9.0 and added API timeout settings.

1.8.9

Bump version to 1.8.9 and update progress display, enhance languages tab with shortcode instructions

1.8.8

Bump version to 1.8.8 and update database version

1.8.6

Bump version to 1.8.6 and update static string Handling

1.8.5

Bump version to 1.8.5 and add strict manual mode

1.8.4

Bump version to 1.8.4 updated chunk size limit, improved queue tables and buttons

1.8.3

Bump version to 1.8.3 added chunk size option and improved table of queue monitor

1.8.2

Update version to 1.8.2 and adjust timeouts

1.8.1

Fixed the translation of menu items; fixed the translation chunks for performance (now 500)

1.8.0

Major Refactor: Custom DB engine, concurrency limits, and WP_List_Table

Features:
Migrated from volatile transients to a robust custom database table (freedomtranslate_cache) for reliable state and queue management.
Implemented strict concurrency limits for background translation workers to prevent server overload.
Replaced external DataTables CDN with native WP_List_Table, ensuring full GDPR compliance and native WordPress UI integration.
Added native database search functionality to the Translated Posts Registry.
Added “Start Now” (VIP pass) and “Cancel” actions for granular control over individual pending translations.
Upgraded the “Panic Button” to safely kill background workers and accurately clear orphaned database chunks.

Refactor:
Completely removed legacy cleanup scripts and heavy direct queries on the wp_options table.
Consolidated redundant the_content filters for automatic language selector injection.
Optimized UI state rendering to accurately reflect pending, processing, and completed statuses.

Fixes:
Resolved a critical infinite loop bug related to database version checking on admin_init (moved to plugins_loaded).

1.6.8

*Bump version to 1.6.8 and cleaned-up the code

1.6.6

*Bump version to 1.6.6 and improved translation with concurrency feature (round-robin)

1.6.5

*Bump version to 1.6.5 and improve translations

1.6.4

*Bump version to 1.6.4 block translation without divide html

1.6.3

*Bump version to 1.6.3 fixed for the checkbox translate on save

1.6.2

*Bump version to 1.6.2 improved the plugin

1.6.1

*Bump version to 1.6.1 added custom table for cache

1.6.0

*Bump version to 1.6.0 officially confirm all new features, added the cache purge of one post/page

1.5.9

*Bump version to 1.5.9 fixed the anti-bot shield

1.5.8

*Bump version to 1.5.8 added the possibility to block bots from trigger automatic translations of post/pages

1.5.6

*Bump version to 1.5.6 added the cron manageent and the pani button to reset all cron

1.5.5

*Bump version to 1.5.5 update admin ui interface, added the option to auto-translate when save new post or edit posts, improve functionalities

1.5.3

*Bump version to 1.5.3 and update translation logic

1.5.2

*Bump version to 1.5.2 and enhance HTML handling in translation function.

1.5.1

*Bump version to 1.5.1, add auto-inject option, and improve async translation handling.

1.5.0

*Added background translation with safe chunks – Fixed language cookie – General fixes

1.4.9

  • Update to version 1.4.9 – Fixed the exclusion of translation in page with google translator

1.4.6

  • Update to version 1.4.6 – Fixed saving of the api url field (no cache)
  • Added chunck translation for performances

1.4.4

  • Update to version 1.4.4 – Multiple translation services and improvements

1.4.3

  • Addedd uninstall procedures (cache and options deleted on uninstall)

1.4.2

  • Improved placeholder for pre-processing words to not translate

1.4.1

  • Edit name

1.4.0

  • Improved casing and excluded word handling
  • Added admin option to change API URL
  • Updated language list

1.3.0

  • Added language selector shortcode
  • Added option to exclude pages/posts
  • Improved admin UI

1.2.0

  • Switched to HTML-aware translation
  • Improved translation accuracy

1.0.0

  • Initial release