Is it possible to use cyrillic characters in embeded form error messages? I’m trying to use Russian text in the form field error message but it’s outputting question marks. Hubspot doesn’t provide a locale or translation key for ru. Maybe it’s possible to create a locale and translation key?
This is my code below. The questions marks should say “• Выберите вариант из раскрывающегося списка.”
I believe I figured out how to get cyrillic characters to show properly in a Hubspot form.
I opened my file(Coldfusion custom script), that contains the Hubspot embed form code, in Notepad, then
added the Russian characters, and then saved as UTF-8 in stead of ANSI
(Notepad’s default). My corrected code is below. Hope this helps anyone else who may run into this issue.
<script>
hbspt.forms.create({
css: '',
portalId: '',
formId: '',
locale: 'en',
translations: {
en: {
required: "Заполните это обязательное поле.",
missingSelect: "Выберите вариант из раскрывающегося списка."
}
}
});
</script>