Thanks Andrew, the "baruwa-admin compilemessages" command worked. Cheers, Anis
On Mon, Jul 18, 2011 at 11:08 AM, Andrew Colin Kissa <[email protected]>wrote: > > On 18 Jul 2011, at 11:59 AM, anis wrote: > > > Hi, System: Baruwa v1.1.0 I have this strange issue, when choosing a > different language before logging in the front end switch to the proper > language, however after anyone login to his own profile, the language switch > back to the default English > > This is because there are no translations available for the language > selected, that is the reason it will default back to English. > > This will usually be the case if you either installed from source or from > the debian package and did not run manage.py compilemessages > users of the SL/RHEL/Centos do not have this issue as the build process > compiles the translations and removes the .po files. > > The fix for this is to run baruwa-admin compilemessages > > > and there's no possibility to change the language. > > This is a short coming i am aware of and will add a language selector to > the interface, i already have that in the 2.0 version anyway. > > > I was reading somewhere in this mail-list that it depends on the > browser... > > There is two ways the language gets determined, if your browser is set to a > language that is supported, that will be selected by default > > > Is there any solution to force the language selected to be present after > the admin/user login no matter what is the browser language? > > Yes the LANGUAGE_CODE = 'en' setting > > > @Andrew: maybe setting this on the user profile (somewhere in the user > profile sql table?) so after login the user will not have to choose the > language every time before he logs in, or if a "static" forcing the language > from the login front page is not possible maybe a drop down language > "changer"? > > Yes that is possible already implemented in 2.0 will back port to 1.1.x > > > Thanks, Anis > > -- > Baruwa - www.baruwa.org > > _______________________________________________ > Baruwa mailing list > [email protected] > http://lists.baruwa.org/mailman/listinfo/baruwa > Keep Baruwa FREE - http://pledgie.com/campaigns/12056 >
_______________________________________________ Baruwa mailing list [email protected] http://lists.baruwa.org/mailman/listinfo/baruwa Keep Baruwa FREE - http://pledgie.com/campaigns/12056

