On Monday, September 14, 2020 at 2:02:46 AM UTC-7, Nicolas Hiblot wrote: > > Dear Clemens > > Sorry for the late answer .. it was my birthday on sunday ... > Well, > > My web2py application has a combo box with a lot of languages for a > langage choice > with a T.force(configuration.language) > so the user can change the langage of the web2py application : no problem > > My problem is > On the login page : there is no translation because I use a web2py_user_form > (no translation) > So the translation is made by Firefox and not by web2py (only for this > page) > > Do you use the T() function for your language-relevant strings?
<URL:http://web2py.com/books/default/chapter/29/04/the-core#Internationalization-and-Pluralization-with-T> > If I change the Firefox langage : the langage is OK on the login page > but all the properties of my other pages crash > because of an error in > > lastUserLogged = db(db.auth_event.description.contains('connect' > )).select(orderby=~db.auth_event.time_stamp,limitby=(0, 1 > )).first().user_id > or > lastUserName = db(db.auth_user.id == > lastUserLogged).select(db.auth_user.username).first().username > > because of the modification in Firefox ... > > Does this generate tickets for the problems? If so, please include the stack trace and relevant values from one of those tickets. /dps -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/web2py/1f1170b5-9701-4275-bfcc-d511a21d5fddo%40googlegroups.com.

