=== translate.press.zone AI === Contributors: translatepresszone Tags: translation, wpml, ai, neural translation, multilingual Requires at least: 5.8 Tested up to: 6.4 Requires PHP: 7.4 Stable tag: 1.0.4 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html Neural translation for WPML powered by TranslateGemma. Ultra-low-cost AI translation. == Description == translate.press.zone AI seamlessly integrates with WPML to provide high-quality, cost-effective translations using our proprietary TranslateGemma models. **Features:** * Neural translation with context awareness * 97%+ translation accuracy * $0.50/1M tokens vs $20/1M (Google Translate API) * HTML tag preservation * Tone control (formal, casual, creative, technical) * Automatic retry on failures * Detailed usage statistics * Webhook-based delivery for reliability * Secure API key encryption * Debug logging for troubleshooting **Requirements:** * WordPress 5.8+ * WPML Multilingual CMS plugin * WPML Translation Management plugin * PHP 7.4+ * API key from translate.press.zone **Why translate.press.zone?** Traditional translation APIs like Google Translate API charge $20 per million tokens. Our TranslateGemma models deliver comparable quality at just $0.50/1M tokens - up to 40x cheaper! == Installation == 1. Install and activate WPML Multilingual CMS 2. Install and activate WPML Translation Management 3. Upload this plugin to /wp-content/plugins/ 4. Activate the plugin through WordPress Plugins menu 5. Get your API key from [translate.press.zone/dashboard](https://translate.press.zone/dashboard) 6. Go to Settings → translate.press.zone 7. Enter your API key and click "Verify Key" 8. Configure your tone preferences 9. In WPML settings, select "translate.press.zone AI" as your translation service 10. Start translating your content! == Frequently Asked Questions == = Do I need WPML? = Yes, this plugin requires both WPML Multilingual CMS and WPML Translation Management to be installed and activated. = How much does it cost? = Translation costs are $0.50 per 1M tokens. Approximately 750 words = 1,000 tokens. Monthly plans available at translate.press.zone. = What languages are supported? = All WPML-supported languages. Common pairs include: * English ↔ Spanish, French, German, Italian, Portuguese * English ↔ Chinese, Japanese, Korean, Arabic, Hindi * And many more! = How does it compare to other translation services? = **Quality:** 97%+ accuracy with automatic AI translation **Cost:** 40x cheaper than Google Translate API ($0.50/1M vs $20/1M) **Speed:** Average 1-2 seconds per translation **Integration:** Native WPML integration, no complex setup = Is my API key secure? = Yes! API keys are encrypted using WordPress's auth salt before being stored in the database. The key is only decrypted when needed for API requests. = What happens if a translation fails? = The plugin automatically retries failed translations up to 3 times with exponential backoff (1min, 5min, 15min). If all retries fail, you'll receive an admin notice with details. = Can I review translations before publishing? = Yes! Disable "Auto-publish translations" in settings. Translations will be saved as drafts in WPML for manual review before publishing. = How do webhooks work? = When you send a translation job, our API processes it asynchronously and sends the completed translation back to your site via webhook. This ensures reliability even for large documents. = Where can I see usage statistics? = Go to Settings → translate.press.zone. After verifying your API key, you'll see: * Tokens used vs monthly quota * Completed job count * Total cost * Quota reset date = Can I use this in production? = Yes! The plugin is production-ready with: * Comprehensive error handling * Automatic retries * HMAC-signed webhooks for security * Database tracking for all jobs * Debug logging for troubleshooting == Screenshots == 1. Settings page with API key verification 2. Connection status and usage statistics 3. Tone selection 4. WPML integration - Service selection 5. Translation job progress tracking == Changelog == = 1.0.4 = * Security: Simplified webhook authentication (removed IP whitelist, HMAC is sufficient) * Feature: Added Security Log page (Tools → Security Log) for webhook anomaly tracking * Feature: Filters for severity and anomaly type with pagination * Removed: Accuracy widget (internal metrics, not user-facing) * Code cleanup: -159 lines of unused code * Improved: Cleaner architecture and better security transparency = 1.0.3 = * Security: Added rate limiting, XSS prevention, and SSRF protection * Feature: Added anomaly detection for webhook security events * Enhancement: Token estimation improvements with ML learning = 1.0.0 = * Initial release * WPML service registration * Simplified model selection * Webhook-based delivery * Automatic retry logic * Usage statistics dashboard * API key encryption * Debug logging * Tone control (formal, casual, creative, technical) * HTML tag preservation * Auto-publish option * Connection testing * Admin notices for job completion/failure == Upgrade Notice == = 1.0.0 = Initial release of translate.press.zone AI translation plugin for WPML. == Privacy Policy == This plugin sends content to translate.press.zone API for translation processing. Content is: * Transmitted over HTTPS * Processed and returned immediately * Not stored permanently on our servers * Not used for training models (unless you opt-in) For full privacy details, visit: https://translate.press.zone/privacy == Support == * Documentation: https://translate.press.zone/docs * Support Forum: https://translate.press.zone/support * GitHub Issues: https://github.com/translatepresszone/wordpress-plugin == Credits == Developed by translate.press.zone team. Powered by TranslateGemma neural translation models.