You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The video consent plugin supports translations via a locale parameter that grabs translations from the appropriate yaml file and inserts translated text into the plugin's handlebars template. We have translations for the hard-coded text in the survey plugins: ConsentSurveyPlugin and ExitSurveyPlugin. Now we need to update those plugins so that they accept a locale parameter and grab the text from the yaml files. This may need to be set up in a different way (vs the video-consent/config plugins) because the hard-coded survey text is inserted via JSON that is passed to the SurveyJS package, rather than through a handlebars template.
Set up the plugin to retrieve text from the appropriate translation file, rather than hard-coding it into the survey JSON. Exit Survey i18n #97SurveyJS locale #98
The text was updated successfully, but these errors were encountered:
Summary
The video consent plugin supports translations via a
locale
parameter that grabs translations from the appropriate yaml file and inserts translated text into the plugin's handlebars template. We have translations for the hard-coded text in the survey plugins:ConsentSurveyPlugin
andExitSurveyPlugin
. Now we need to update those plugins so that they accept alocale
parameter and grab the text from the yaml files. This may need to be set up in a different way (vs the video-consent/config plugins) because the hard-coded survey text is inserted via JSON that is passed to theSurveyJS
package, rather than through a handlebars template.To do:
locale
parameters toConsentSurveyPlugin
andExitSurveyPlugin
Exit Survey i18n #97 SurveyJS locale #98The text was updated successfully, but these errors were encountered: