« Return to Thread: Customizing Translator messages?

Re: Customizing Translator messages?

by Ulrich Stärk :: Rate this Message:

Reply to Author | View in Thread

If I'm not mistaken, you can't do that on a per-component basis. Translators have a getMessageKey()
method that returns the key to be used and this is per translator not per component.

Uli

On 02.07.2009 04:21 schrieb Martin Strand:

> Validation messages can easily be overridden for a specific component, eg
>
> password-required-message = You forgot to type your password!
>
>
> Is there a way to do the same with Translators - override messages on a per-component basis?
> onParseClientFromXXX(...) could work, but I'd prefer to reuse the built-in translators.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@...
> For additional commands, e-mail: users-help@...
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...

 « Return to Thread: Customizing Translator messages?