as for translation of auth messages, found in we2py-developers Álvaro is working on it with Massimo. he's testing. wish him success!
-- Teru On 8月10日, 午前5:14, suiato <homm...@gmail.com> wrote: > 2009/8/9 suiato <homm...@gmail.com>: > > > > > Thanks, Yarko and Massimo > > > Yes, translation of messages in auth without T() worked :-) > > After doing some follow-ups, I now think I haven't really made it > work... (web2py 1.65.11) > My understanding was not sufficient and I made a mistake in the course > of my experiments. > > If the current scheme is that the auth message strings assigned in > gluon/tools.py should appear in a language file, it hasn't happened. > Because I don't see 'First name' in the language file, for example. I > don't see other auth messages there, either. > > When I reassign the string like > auth.messages.label_first_name = T('First name') > in models/db.py, and hit 'update all languages', I find the term > 'First name' in a language file. > > So, if this is the case, I'll need to reassign all of the auth > messages in models/db.py in order to get the message strings into a > language file. > > Am I still missing something? > > -- > Teru --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---