Allow your visitors to translate any page with the simple click of a bookmark. Translation happens in place without leaving the page with this light-weight, cross-browser plugin.
- Translation Settings – Set when to translate (Manual or Automatic).
- Pick a Color – Select a Dark or Light version of the widget to fit your site.
- Community Translations – Allow visitors to suggest alternate translations.
Using Bing Translator for WordPress
You can install this plugin from within WordPress under Plugins > Add New and search for “Bing Translator.”
If you prefer to manually install the plugin, simply:
- Download the plugin from WordPress.org.
- Upload the
bing-translatorfolder to the
- Activate the plugin through the Plugins menu in WordPress.
Video: Installing & Configuring Bing Translator for WordPress
Adding Bing Translator to Web Pages
There are three different ways you can add the Bing Translator widget to your site’s pages:
- Widget – Easiest. Simply drag the Bing Translator Widget to any widget-enabled area in your WordPress theme.
- Shortcode – Embed a shortcode into the editor of any post, page, or custom post type.
- Template tags – Add a simple PHP function to one of your theme’s template files.
Add Bing Translator using WordPress Widget
The easiest way to add the Bing Translator to your site is by using a WordPress widget:
- Install and activate the Bing Translator plugin.
- In the WordPress Admin, go to Appearance > Widgets.
- Click and drag the Bing Translator widget from the Available Widgets column into a widget-enabled area within your theme on the right. The widget will open showing the options you can configure.
- Now, you can set your title, Translation Settings, Color scheme, and whether you’d like to Allow visitors to suggest translations.
- View a page that includes this widget to verify that it’s working.
Video: Adding Bing Translator to WordPress using WordPress Widgets
Add Bing Translator using WordPress Shortcodes
The Bing Translator plugin also allows you to add the Bing Translator to individual content pages and posts using WordPress shortcodes:
- Open the page, post, or custom post type where you wish to embed Bing Translator.
- Click in the editor window at the point where you’d like to include the Bing Translator widget.
- Click on the Bing button above the WordPress editor. It will open showing two options: Insert Widget and Don’t Translate.
- Click Insert Widget and the
[bing_translator]shortcode will be placed within the content area. Note: this widget displays inline, so you may wish to add a line break before and after to make sure it clears your existing content.
- Click Publish or Update to save.
- View the page or post to verify that the widget appears as you’d expect.
Video: Adding Bing Translator to WordPress using Shortcodes
Add Bing Translator using Template Tags
If you’re a theme or plugin developer, you can add the Bing Translator directly to your WordPress theme’s template files using a special PHP template tag:
- Open the theme template that you’d like to edit.
- Add the following function into your template where you’d like the Bing Translator widget to appear:
<?php bing_translator(); ?>
- Save your file.
- Preview your site to verify the changes.
Video: Adding Bing Translator to WordPress using PHP Template Tags
Marking Content That Should Not be Translated
If you have content within a post, page or custom post type that you’d like Bing Translator to skip when translating, you can wrap that content in the
- Open the post, page or custom post type.
- Select the content that should be exempt from translation.
- Click the Bing button above the WordPress editor and select Don’t Translate.
The content you selected will not be translated, regardless of the visitor’s settings.
- Do I have to sign up for an account to use this plugin?
No, this plugin is completely free.
- How many translations do I get per month?
There’s no limit.
- Does this plugin work on pages, posts, even custom post types?
- Do I need to set my site’s main language?
No. The plugin uses the language settings in WordPress. Find out more about WordPress in your language.
- How can I get the Bing Translator widget to display in my native language?
The Bing Translator widget is displayed on the site using the visitor’s browser language settings.
To see how the Bing Translator widget looks in German, you need to change your browser accept-language setting to German.
Instructions to change default browser language settings for:
- Can I embed multiple copies of the Bing Translator in my site?
Yes. However, the Bing Translator will only show on each page once. So, it’s best to decide on one implementation (Widget, Template Tag, or Shortcode) and stick with it.
- Does the *Don’t Translate* shortcode work if I’m embedding the Bing Translator using WordPress Widgets or Template Tags?
[notranslate][/notranslate]shortcode will protect content from being translated regardless of how you embed the Bing Translator on your site.
- I’m confused . . . should I embed the Bing Translator using the WordPress Widget, Shortcode, or Template Tag.
- WordPress Widget – For most people, this is the easiest way to go since it will automatically show on all pages and posts that use that widget area.
- Shortcode – Shortcodes are best for sites that only want certain content to be translateable, but it’s not great if you’d like visitors to be able to translate the whole site because you have to add the
[bing_translator]shortcode to each piece of content on which you’d like it to appear.
- Template Tag – Because the template tag requires editing theme templates, it’s best used by developers that have knowledge of PHP and HTML.
- What arguments can I pass along with the Template Tag or Shortcode?
If you’re implementing the Bing Translator plugin using WordPress Shortcodes or Template Tags, you can change the output by passing along an array of arguments.
Here are the possible arguments:
- align –
- mode –
- theme –
** Passing arguments to Shortcode **
[bing_translator align="center" enable_ctf="yes" mode="manual" theme="dark"]
** Passing arguments to Template Tag **
bing_translator( array( 'align' => '', 'enable_ctf' => yes, 'mode' => 'manual', 'theme' => 'dark', ) );
- align –
Easy installation and simple admin.
This plugin works great, although I tried so long wondering why the translation to Simplfied/Traditional Chinese failed, while Spanish translation good. After I adjust the WP default language to English, all works now.
Even so great, I have 2 things to say:
1. If my post is not the same language as my WP, the bing translator wouldn’t translate.
2. If my post contains two languages, in my testing, English plus Spanish, the bing translator will translate English and ignore Spanish.
I will stay Bing translator so far and hoping get new bing translator soon.
Contributors & Developers
“Bing Translator” is open source software. The following people have contributed to this plugin.Contributors
- Initial release