diff -r a6834e2dcc1b -r 927d035b6921 web/formwidgets.py --- a/web/formwidgets.py Mon Apr 14 23:00:19 2014 +0200 +++ b/web/formwidgets.py Tue Jan 07 15:10:57 2014 +0100 @@ -210,6 +210,8 @@ attrs['id'] = field.dom_id(form, self.suffix) if self.settabindex and not 'tabindex' in attrs: attrs['tabindex'] = form._cw.next_tabindex() + if 'placeholder' in attrs: + attrs['placeholder'] = form._cw._(attrs['placeholder']) return attrs def values(self, form, field):