[ 
https://issues.apache.org/jira/browse/WICKET-5663?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14087545#comment-14087545
 ] 

Martin Grigorov commented on WICKET-5663:
-----------------------------------------

Can you explain again about this ?
I didn't get what is the requirement the first time.

> Wicket Validator Message Template values not translated/customized
> ------------------------------------------------------------------
>
>                 Key: WICKET-5663
>                 URL: https://issues.apache.org/jira/browse/WICKET-5663
>             Project: Wicket
>          Issue Type: Bug
>            Reporter: Thibault Kruse
>
> Wicket provides standard Validation Messages in diverse languages in form of 
> Application_xzy.properties in wicket core, e.g.
> {code}
> IConverter=The value of '${label}' is not a valid ${type}.
> {code}
> The problem we have is that {code}${label}{code} is apparently replaced with 
> the wicket:id of the field, and not the value of field.getLabel().
> For {code}${type}{code} we would need to be able to translate Typenames (such 
> as joda's YearMonth) to a localized String. Though that one we can probably 
> work around using specialized error messages as below.
> For now, our workaround is to overwrite the standard Error messages with 
> non-templated messages, having less informational value though, as they do 
> not include the label of the invalid field, e.g.
> {code:xml}
> <properties>
>     <entry key="IConverter.Partial">Bitte geben Sie ein gültiges Datum 
> an</entry>
> </properties>
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to