Beschrijving
WD Translator
Beschrijving
WD Translator is a powerful and flexible translation plugin that allows your visitors to translate your website content into multiple languages. It supports both Google Translate API and OpenAI GPT for high-quality translations.
Features:
- Dual Translation Engines – Choose between Google Translate API for fast translations or OpenAI GPT for more natural, context-aware translations
- Customizable Language Switcher – Display as a dropdown, floating button, or inline widget
- Flag Icons – Built-in flag icons for 100+ languages with custom flag upload support
- Custom Labels – Override default language names with custom labels
- Translation Caching – Database caching reduces API calls and speeds up repeat translations
- Shortcode Support – Place the language switcher anywhere using
[wdt_translator] - Modern Admin Interface – Clean, intuitive settings page with live preview
- Appearance Settings – Customize colors, border radius, shadow, and font size to match your theme
- RTL Support – Full support for right-to-left languages
Supported Languages:
Over 100 languages including: Arabic, Chinese, Dutch, English, French, German, Hindi, Italian, Japanese, Korean, Portuguese, Russian, Spanish, and many more.
External Services
This plugin relies on third-party APIs to provide translation functionality. You must provide your own API key for the service you choose to use. The plugin does not include any API keys, and all API requests are made directly from your server to the service provider using your credentials.
By using this plugin, you acknowledge that text content from your website will be sent to these external services for translation.
Google Cloud Translation API
When you select Google Translate as your translation provider, this plugin sends text content to Google’s Cloud Translation API for translation.
- Service Provider: Google LLC
- Your API Key Required: Yes – you must create your own Google Cloud account and enable the Cloud Translation API
- What data is sent: The text content to be translated, source language, and target language
- When data is sent: Each time a visitor requests a translation (unless cached)
- Terms of Service: https://cloud.google.com/terms
- Privacy Policy: https://policies.google.com/privacy
OpenAI API
When you select OpenAI as your translation provider, this plugin sends text content to OpenAI’s API for translation using GPT models.
- Service Provider: OpenAI, LLC
- Your API Key Required: Yes – you must create your own OpenAI account and generate an API key
- What data is sent: The text content to be translated, source language, and target language
- When data is sent: Each time a visitor requests a translation (unless cached)
- Terms of Use: https://openai.com/terms
- Privacy Policy: https://openai.com/privacy
Schermafbeeldingen
Installatie
- Upload the
wd-translatorfolder to the/wp-content/plugins/directory - Activate the plugin through the ‘Plugins’ menu in WordPress
- Go to WD Translator in the admin menu to configure settings
- Add your Google Translate or OpenAI API key
- Select your source language and enable target languages
- The language switcher will appear on your site automatically
FAQ
Do I need an API key?
Yes, you need either a Google Translate API key or an OpenAI API key to use this plugin. Both services offer free tiers for limited usage.
How do I get a Google Translate API key?
- Go to the Google Cloud Console
- Create a new project or select an existing one
- Enable the Cloud Translation API
- Create credentials (API key)
- Copy the API key to the plugin settings
How do I get an OpenAI API key?
- Go to platform.openai.com
- Sign up or log in to your account
- Navigate to API keys in your account settings
- Create a new API key
- Copy the API key to the plugin settings
Can I customize the language switcher appearance?
Yes! The plugin includes extensive customization options including colors, border radius, shadow, and font size. For advanced customization, you can use the WordPress Customizer’s Additional CSS feature.
Can I use custom flags?
Yes, you can upload custom flag images for any language through the language customization modal in the settings page.
Where does the language switcher appear?
By default, it appears as a floating widget. You can also use the
[wdt_translator]shortcode to place it anywhere in your content, widgets, or theme templates.Does it work with page builders?
Yes, you can use the shortcode
[wdt_translator]in any page builder that supports shortcodes.Is translation cached?
Yes, translations are cached in the database to reduce API calls and improve performance. You can configure the cache TTL or disable caching entirely.
Beoordelingen
Er zijn geen beoordelingen voor deze plugin.
Bijdragers & ontwikkelaars
“WD Translator” is open source software. De volgende personen hebben bijgedragen aan deze plugin.
BijdragersVertaal “WD Translator” in je eigen taal.
Interesse in ontwikkeling?
Bekijk de code, haal de SVN repository op, of abonneer je op het ontwikkellog via RSS.
Changelog
1.0.0
- Initial release
- Google Translate API integration
- OpenAI GPT integration
- Customizable language switcher widget
- Shortcode support
- Translation caching
- Custom flags and labels









