Enable visitors to translate your website on the spot
This package adds a widget to a page to allow the users to translate the current page into a language of their choice in real time. The widget is provided by Microsoft Translator.
How to implement
- Edit a page (or a template).
- Insert the
Composite.Localization.MicrosoftTranslatorWidget (
Insert |
Function) or add the following code:
<f:function name="Composite.Localization.MicrosoftTranslatorWidget" xmlns:f="http://www.composite.net/ns/function/1.0" />
Customization
You can customize the way the widget looks (width, colors) by editing its CSS file:
~/Frontend/Composite/Localization/MicrosoftTranslatorWidget/Styles.css
Requirements
Composite C1 version 2.1.1 or later