Multi-language Surveys
Multi-Language Surveys allow you to create surveys that support multiple languages using translations. This makes it easier to reach a diverse audience without creating separate surveys for each language. This feature simplifies the creation, delivery, and analysis of surveys for a multilingual audience.
How to deliver a specific language depends on the survey type (app or link survey):
- app survey: Set a
language
attribute for the user. See the guide below for App Surveys - Link survey: Add a
lang
parameter in the survey URL. See the guide below for Link Surveys
Multi-Language is feature of the Enterprise Edition. You can use it for free by adding your credit card details on the Formbricks Cloud.
Creating a Multi-language Survey
- Open the Survey Languages page in the Formbricks settings via the top-right menu:
- Click on the Edit languages button, to add a new language to your survey
- Select the preferred language from the dropdown and assign an identifier Alias. Click the Add language button to add the language to your product.
You can come back to this page anytime to add more languages or remove existing ones.
- Now, return to the dashboard to create a new survey or edit an existing one.
- In the survey editor, scroll down to the Multiple Languages section at the bottom and enable the toggle next to it.
- Now choose a Default Language for your survey. This is the language that will be shown to users who have not selected a preferred language.
- Now, add the languages from the dropdown that you want to support in your survey.
- You can now see the survey in the selected language by clicking on the language dropdown in any of the questions.
- You can now translate all survey content, including questions, options, and button placeholders, into the selected language.
- Once you are done, click on the Publish button to save the survey.
App Surveys Configuration
- When you initialise the Formbricks SDK for your user, you can pass a
language
attribute with the language code. This can be either the ISO identifier or the Alias you set when creating the language. Thelanguage
attribute makes sure that this user only sees surveys with a translation in this specific language available.
Configuring Formbricks SDK with Multi-language
Formbricks.init({
environmentId: "<environment-id>",
apiHost: "<api-host>",
userId: "<user_id>",
attributes: {
language: "de", // ISO identifier or Alias set when creating language
},
});
If a user has a language assigned, a survey has multi-language activate and it is missing a translation in the language of the user, the survey will not be displayed.
- That's it! Now, users with the language attribute set will see the survey in their preferred language. You can start collecting responses in multiple languages and filter them by language on the summary page.
Link Surveys Configuration
For link surveys, the translation delivery is dependent on the land
URL parameter.
After publishing the survey, just copy the survey link and append the lang
query parameter with the language alias you have set.
For example, if you have set the alias for French as fr
, you can share the survey link as
https://your-survey-url.com?lang=fr
Here are two examples:
- English: https://app.Formbricks.com/s/clptfos2i1pj516pvhxqyu3bn?lang=en
- German: https://app.Formbricks.com/s/clptfos2i1pj516pvhxqyu3bn?lang=de
Without the lang
parameter, Formbricks will show the survey in the default language you have set.
You can now start collecting responses in multiple languages!
Can’t figure it out? Join our Discord!