This guide will show you how to translate widgets into the appropriate language βοΈ
Requirements
β Active REVIEWS.IO account
Widget Translation
Widget Settings
For the majority of our widgets, you can select the language within the widget editor. The Language setting can always be found under "General Settings". From here, you can define which language you would like to display the widget in.
Note: This doesn't translate the reviews themselves, you can define this through Review Tagging which is discussed further on in this article.
π¨ IMPORTANT π¨
Not all of the widgets support all languages. If your desired language is not available, contact support & we can provide translation keys for most of our widgets to add to the code.
Badge Widget
This widget has to be manually translated. The translation keys are included with the widget code. If you replace the text within the speech marks to the correct translation. For example translateReviews:" Reviews", would become translateReviews:" Bewertungen", if you wanted this to display in German.
<script src="https://widget.reviews.co.uk/badge-modern/dist.js"></script>
<div id="badge-230" style="max-width:230px;"></div>
<script>
reviewsBadgeModern('badge-230', {
store: 'STORE-ID',
primaryClr: '#000000',
starsClr: '#000000',
translateReviews: " Reviews",
translateAverage: " Average",
translateDecimal: "."
});
</script>
Text Banner Widget
This widget has to be manually translated. The translation keys are included with the widget code. If you replace the text within the speech marks to the correct translation. For example translateReviews:" Reviews", would become translateReviews:" Bewertungen", if you wanted this to display in German.
<script src="https://widget.reviews.co.uk/rich-snippet-reviews-widgets/dist.js" type="text/javascript"></script>
<div id="text-banner-widget"></div>
<script>
richSnippetReviewsWidgets("text-banner-widget", {
store: "STORE-ID",
starsClr: "#f47e27",
textClr: "#313131",
logoClr: "black",
widgetName: "text-banner",
translateOurCustomersSay: "Unsere Kunden sagen",
translateOutOf5BasedOn: "basierend auf",
translateReviews: "Bewertungen",
translateExcellent: "Hervorragend"
});
</script>
Unfortunately, the following widgets cannot currently be translated:
Write a Review Widget
Email Badge Widget
Ribbon Badge Widget
Trust Banner Image
Badge Widget
Note: You also set up Language Tags for the reviews, to make sure the review content matches the language of the widget. You can learn how to do this here