Hi, On Apr 15, 11:58 am, Jeroen Ruigrok van der Werven <[EMAIL PROTECTED] nomine.org> wrote: > -On [20080415 16:41], tom ([EMAIL PROTECTED]) wrote: > > >I have progressed: localization (indeed specified by choosing the > >browser's local) is now working.. but only on the home page. (!). > > >Once a user logs in, Trac reverts back to English... any clue on why > >can this be happening? > > I think it is related to the code I added for the custom settings per user. > In the preferences section we now have the option to have the user select > their own preferred language. This is overruling the brower's language > setting. I think when when you hit reload on the frontpage it will most > likely also revert to English?
If the user is not logged in, she can hit reload as many times as she wants and Trac keeps on respecting the browser's lang. setting. Coherently, if she's logged in, it always falls back to English. :) > If a user does not log in everything should stay at the language as specific > in the browser. Indeed. > I'll see if I can get a look at the code again tonight. Last time around we > were a bit stumped at why it was not updating on the fly. Thank you very much. We're using Trac in a context where many users (I'd say the vast majority) don't know English, so having it translated is a must for us. Thanks again, tom. > -- > Jeroen Ruigrok van der Werven <asmodai(-at-)in-nomine.org> / asmodai > イェルーン ラウフロック ヴァン デル ウェルヴェンhttp://www.in-nomine.org/|http://www.rangaku.org/ > All art is but imitation of Nature... --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Trac Users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~----------~----~----~----~------~----~------~--~---
