Automatic language detection - Please add the possibility to only show / prioritize reviews in certain languages

My customers are all from the Netherlands and therefore it would be amazing if the widget is able to prioritize languages. So for example, first show Dutch reviews, if they're not available, then English, then Deutsch, then French, etc.

  • Steijn R.
  • Jan 25 2021
  • Future consideration
  • Attach files
  • Admin
    Helga Kirsanova commented
    17 Jun 03:19pm

    Yes, with the way our Reviews widgets work, they do have a limit of 100 latest reviews to display.

    Thanks for adding a separate request - we will also try to take it under consideration and hopefully, we will see it released in one of the future updates 💪🏻

  • JP commented
    17 Jun 12:18pm

    I tried to use the 'include words' filter to find and show reviews in a specific language only. It works but not as expected, because the widgets applies the filter to the last 100 reviews only. The result from the filter was only 2 Dutch reviews because everything else in the last 100 was English, German and French.

    I added a new wish to first filter then limit to 100 here: https://wishlist.elfsight.com/ideas/AIOR-I-86

  • Admin
    Helga Kirsanova commented
    15 Jun 08:49am

    Hi,

    Thank you so much for your detailed comment and suggestion!

    I'm sure this will be a huge help in implementing this functionality.

    Thank you for your help!

  • JP commented
    15 Jun 08:36am

    Here is an idea:


    First, auto detect the (original) language of each review.

    Then, on the page where the widget is embedded, detect the language of that page. That's easy with the html lang tag.

    <html lang="nl-NL">

    Filter the reviews based on that and only show reviews in that language. Maybe add a toggle in the header or next to the load more button to show reviews in all languages.



    Or, if the language of the review or page cannot be detected automatically, allow to do it manually by showing a list of all reviews in the backend and allow to assign tags to each of them. That way you can manually assign a language tag (or whatever tag you like).

    Then add an option to the widget code where you can specify the language for which you want to see the reviews. That way you can make a widget for each language and decide yourself which one you want to see on each page.

    <script src="https://apps.elfsight.com/p/platform.js" defer></script>
    <div lang="nl" class="elfsight-app-aaabcddd-xxxx-yyyy-zzzz-123c45678abc"></div>