Hi, I have noticed that some files in the lang folder (sitename\assets\snippets\eform\lang) of eform have problems with special characters (es. àèìòù...). I had this problem on:
1. francais.inc.php
2. italian.inc.php
3. spanish.inc.php
I have fixed this with the following code, placed at the bottom of each file:
foreach ($_lang as $_lang_key => $_lang_value) {
if (substr($_lang_key, 0, 3) != 'ef_') continue;
$_lang[$_lang_key] = utf8_encode($_lang_value);
}
Also, in the spanish.inc.php there is a mistake, this line should be changed form this:
$_lang["ef_validation_message"] = "<strong>Se detectaron algunos errores:</strong>
";
to this:
$_lang["ef_validation_message"] = "<div class=\"errors\"><strong>Se detectaron algunos errores:</strong>
[+ef_wrapper+]</div>";
Basically there is no "[+ef_wrapper+]" placeholder in the original file...
[ed. note: microcipcip last edited this post 12 years, 5 months ago.]