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 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= 
>> '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 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',
>>>         label_username='Username',
>>>         label_email='E-mail',
>>>         label_password='Password',
>>>         label_registration_key='Registration key',
>>>         label_reset_password_key='Reset Password key',
>>>         label_registration_id='Registration identifier',
>>>         label_role='Role',
>>>         label_description='Description',
>>>         label_user_id='User ID',
>>>         label_group_id='Group ID',
>>>         label_name='Name',
>>>         label_table_name='Object or table name',
>>>         label_record_id='Record ID',
>>>         label_time_stamp='Timestamp',
>>>         label_client_ip='Client IP',
>>>         label_origin='Origin',
>>>         label_remember_me="Remember me (for 30 days)",
>>>
>>> On Tuesday, November 6, 2012 3:06:08 PM UTC+1, Jan Rozhon wrote:
>>>>
>>>> Hi, I am facing the problem that my Login (.../user/login) form uses 
>>>> translations for its labels and I need to forbid this behavior. What is 
>>>> the 
>>>> correct way of doing this?
>>>>
>>>> Thanks, Jan
>>>>
>>>

-- 



Reply via email to