Rapid Reviews / Translations - Liquid Integration

Translations - Liquid Integration

If you have a language selector on your site, or existing translations via an app or other Shopify translations, can can explicitly set the lanugage for the Rapid Reviews widgets on your site by declaring a language value that corresponds to our available languages.

Language Value
English en
Spanish es
French fr
German de
Italian it
Dutch nl
Swedish sv
Polish pl
Croatian hr
Latvian lv
Portuguese - BR pt-br
Portuguese - PT pt-pt
Vietnamese vi

To specify a translation on your capture page click here.

~CE

<script>
  window.rapid_reviews_config = window.rapid_reviews_config || {}
  if (location.pathname.indexOf('/nl/') > -1) window.rapid_reviews_config.lang = 'nl'
  if (location.pathname.indexOf('/fr/') > -1) window.rapid_reviews_config.lang = 'fr'
</script>

<!-- TO REFRESH THE MAIN WIDGET, CALL THE FUNCTION BELOW -->
<script>
  window.rr_init()
</script>
HTML