Issue #9 new
James Wang
created an issue

my code {{{


import formencode formencode.api.set_stdtranslation(domain="FormEncode", languages=["zh_CN"])

class SimpleFESchema(Schema):

name = validators.NotEmpty()

from pyramid_simpleform import Form request = testing.DummyRequest()

request.method = "POST"
request.POST['name'] = ''
form = Form(request, SimpleFESchema)
print form.errors,not(form.validate()),form.is_validated,'title' in form.errors


but it seems like still be English language

result is u'Missing value', 'name':

Comments (0)

  1. Log in to comment