Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add locale/translations for survey plugins #63

Closed
2 tasks done
becky-gilbert opened this issue Oct 10, 2024 · 0 comments · Fixed by #97 or #98
Closed
2 tasks done

Add locale/translations for survey plugins #63

becky-gilbert opened this issue Oct 10, 2024 · 0 comments · Fixed by #97 or #98

Comments

@becky-gilbert
Copy link
Contributor

becky-gilbert commented Oct 10, 2024

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 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.

To do:

This was linked to pull requests Oct 31, 2024
@okaycj okaycj closed this as completed in #97 Nov 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant