Reputation: 5083
I'm having a problem translating the ff text from primefaces's password field: "Please enter a password", "Weak", "Good", "Strong", etc.
Any idea how to override the default translation values? I tried searching the primefaces jar but can't see them in Messages.properties file.
Thanks,
czetsuya
Upvotes: 0
Views: 2039
Reputation: 11547
Look at the the showcase:
http://www.primefaces.org/showcase/ui/password.jsf
Here is the turkish example copied from there:
<p:password id="turkishFeedback" value="#{passwordBean.password3}" feedback="true"
promptLabel="Lütfen şifre giriniz"
weakLabel="Zayıf"
goodLabel="Orta seviye"
strongLabel="Güçlü" />
Upvotes: 3