Custom Translations with Arguments

4 views
Skip to first unread message

Thierry Nischelwitzer

unread,
Jan 4, 2013, 3:12:19 AM1/4/13
to valida...@googlegroups.com
Hi

I have following problem. i would translate the error-messages. but i think validateThis can not realize my wishes :) validateThis have a cool translation framework integrated, and i can attach my own translation framework with a few steps. very nice. but i need more information from the framework of validateThis. i would do something like this:

key: 'user.password.minlength'
text: 'The password must have min. {1} chars'

An the '{1}'-part is the value from the rule from validateThis. My own translation framework support this, but i don't get the value from the rule. 

Is there a solution? I hope my wish is clear :)

Thanks
-Thierry
Reply all
Reply to author
Forward
0 new messages