Re: [web2py] Re: Prevent translation of the labels in the Log In form

2012-11-07 Thread Jan Rozhon
Sorry, I had a typo in the line. Now it is working - put auth.messages.label_password= 'Password ' with space in the model. Thank you very much Niphlod On 06/11/12 23:53, Niphlod wrote: did you put that between auth = Auth(...) and auth.define_tables() ? On Tuesday, November 6, 2012

[web2py] Re: Prevent translation of the labels in the Log In form

2012-11-06 Thread Niphlod
auth.messages settings... these are the defaults, but they get to be translated by default (and normally is a good thing). If you set them as auth.messages.label_first_name = 'test' they shouldn't be translated at all. label_first_name='First name', label_last_name='Last name',

[web2py] Re: Prevent translation of the labels in the Log In form

2012-11-06 Thread Jan Rozhon
Hi, thanks for quick hint. Tried adding auth.messages.label_password= 'Password' into my model, but the label still gets translated. I modified it to 'test', but the label didnt change. Jan Dne úterý, 6. listopadu 2012 15:29:48 UTC+1 Niphlod napsal(a): auth.messages settings... these are the

[web2py] Re: Prevent translation of the labels in the Log In form

2012-11-06 Thread Niphlod
if you don't change the string that has already a translation it gets translated. try with auth.messages.label_password= 'Password ##fixed in english' Il giorno martedì 6 novembre 2012 15:56:50 UTC+1, Jan Rozhon ha scritto: Hi, thanks for quick hint. Tried adding auth.messages.label_password=

[web2py] Re: Prevent translation of the labels in the Log In form

2012-11-06 Thread Jan Rozhon
Nope, no change still the local translation of the word Password in the form :(. Inserted into db.py in the auth section. Jan Dne úterý, 6. listopadu 2012 16:18:49 UTC+1 Niphlod napsal(a): if you don't change the string that has already a translation it gets translated. try with

[web2py] Re: Prevent translation of the labels in the Log In form

2012-11-06 Thread Niphlod
did you put that between auth = Auth(...) and auth.define_tables() ? On Tuesday, November 6, 2012 11:32:18 PM UTC+1, Jan Rozhon wrote: Nope, no change still the local translation of the word Password in the form :(. Inserted into db.py in the auth section. Jan Dne úterý, 6. listopadu

Re: [web2py] Re: Prevent translation of the labels in the Log In form

2012-11-06 Thread Jan Rozhon
Yep, thats the place I put it to. Is there a way to force english if I cannot prevent translation? I have tried modifying routes.py in my app, but no luck so far. Thanks, Jan On 06/11/12 23:53, Niphlod wrote: did you put that between auth = Auth(...) and auth.define_tables() ? On Tuesday,