Forums

Multi-language plugin

vjmazcu 21 May, 2009
I saw an tutorial of multi-language plugin use, but i dont's know how to I have define labels in form code.

Now I check language parameters of url in php form code, but i want to use multi-language code.

Can I translate the error message of javascript validation?

Thanks
Max_admin 24 May, 2009
Hi vjmazcu,

if you have set some validation messages in the wizard for any element OR added it manually to the
title="SOME_VALIDATION_MESSAGE"
attribute in the field then you can translate this text using the multi language plugin too

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

It's working fine only for the required field.
But not for the digits and e-mail validation. (did not try the others).

I'm using different languages so to change the livevalidation_standalone.js is not an issue.

Also I have a question to to validate a field twice example a validation translation for required and only digits. A title is not working because it works only with one title and only for required.

Is it not posssible to make a language ini? I think a lot of translation/validation problems will be solved then.

Thanks,
Stephanie
GreyHead 25 Sep, 2009
Hi Stephanie,

The title approach should work OK for all of the validations - but you are correct it will only allow one message per input. The old validation used to allow separate messages I don't think that this one does :-(

You can handle the multi-language issue with the multi-language plugin - please see my post in the plugins forum here.

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