Forums

Basic Language question

Amarin 04 May, 2009
Hello,
I have a Spanish site where I put a contact form. Some fields have a Spanish Validation Message, e.g. "introduzca un email válido" which means "Enter a valid email".

The problem is that I have the phone field as required and "only numbers" with a validation message in Spanish, but when I test the field, entering alphabetic content, instead of the validation message in Spanish, the message appears in English.

The second problem is how to translate the first entry in a dropdown box, which reads "Choose Option"

Thank you very much.
Max_admin 12 May, 2009
Hi Amarin,

you need to use the multi language plugin to translate these messages!

Regards
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
pat01 28 May, 2009
Hi Max

you need to use the multi language plugin to translate these messages!



This does not work for

The second problem is how to translate the first entry in a dropdown box, which reads "Choose Option"



since the phrase "Choose option" is hardcoded in the files
/components/com_chronocontact/themes/default/elements.php
and
/components/com_chronocontact/themes/theme1/elements.php

Or do I see this wrong?

Because I can create a "Choose option" with the wizard when creating or editing a dropdown field, the entry
<option value="">Choose Option</option>
should be removed from elements.php in my opinion.
Of course I can remove it, but once I do an update it will be back unless I remove it again...

Maybe it would be better not to include hardcoded messages? Just a thougth... ;-)


Regards
Patrick
This topic is locked and no more replies can be posted.