How do I translate in-app forms?

This article will explain how you can show translated surveys for web-view forms. The below example is for the specific SDK Android case. The way data is sent along differs per SDK type, below you can also find the different ways to send along extra data per SDK type:

Please note that it is not possible to translate native app forms. In this case, separate forms should be made.


When using SDKs, it is possible to send along extra data:

1 2 3 4 import com.mopinion.mopinionsdk.*; Mopinion M = new Mopinion(this, "12345abcde");"first name", "Andy");

The values sent along can also be used to determine the translation that should be used for the survey.

For example:

1"lang", "fr");

In the survey builder, you can add a translation for this language and trigger that translation based on a JS variable.

The lang key will be part of the metaData object so you have to check for the value of metaData.lang :