Skip to main content

Language Configuration

By default RateParity auto-detects and displays the end-user's preferred language. To override this behavior, add the lang attribute to the installer script and set it to the desired ISO 639-1 code.

Example — force Italian:

<script
src="https://code.rateparity.com/versions/installer.min.js"
lang="it"
defer
></script>

Common ISO 639-1 examples:

  • en — English
  • it — Italian
  • fr — French
  • es — Spanish
  • de — German

If you need locale fallbacks or more complex behaviour, prefer calling the Client API setLanguage method (see Client API → General → setLanguage).