Ok,

but... this validator, is! part of Tomahawk:
<f:validator validatorId="org.apache.myfaces.validator.Email"/>
(and now commons).

However the validator is available in your project, you can add the
messages to your resource bundle(s)
like to your (what ever the real file name is) "Messages_de.resources" file.

Just add these keys:
org.apache.myfaces.Email.INVALID = Keine Email Adresse!
org.apache.myfaces.Email.INVALID_detail = Der eingegebene Wert ({0})
ist keine korrekte E-Mail-Adresse.

HTH,
Matthias


On Dec 6, 2007 4:39 PM, Santa_Claus <[EMAIL PROTECTED]> wrote:
>
> Hello Matthias,
> I don´t use tomahawk, as the configuration wouldn´t work out on my system.
> I have no idea where the output comes from.
>
> Regards, Santa
>
>
> hi,
>
> i thought, you want to replace the Trinidad build-in Strings;
> >      <f:validator validatorId="org.apache.myfaces.validator.Email"/>
> > If an invalid email adress is entered, the output
> > "org.apache.myfaces.Email.INVALID" is generated, which I want to change
> > according to my locale.
>
> aren't there translations / messages for German in tomahawk?
>
> -M
>
>
> --
> View this message in context: 
> http://www.nabble.com/-Trinidad--messages-tf4952319.html#a14194512
>
> Sent from the MyFaces - Users mailing list archive at Nabble.com.
>
>



-- 
Matthias Wessendorf

further stuff:
blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
mail: matzew-at-apache-dot-org

Reply via email to