[opencms-dev] Please tell me why?

Alexander Kandzior alex at opencms.org
Mon May 26 14:17:01 CEST 2003


the login page checks the users browser setting (i.e. the browsers
header information). An OpenCms mechanism reduces the browser header
string to the 2-letter localization code (en, de, fr etc.). If the
language from the browsers header is not supported, OpenCms defaults to
English (i.e. "en"). 

You should find the methods involved if you follow the OepnCms source
code in the com.opencms.workplace.CmsLoginNew class. After login, the
users setting in OpenCms is read from the DB and this language is used. 

Best Regards,

Alexander Kandzior
Alkacon Software - The OpenCms Experts

> -----Original Message-----
> From: opencms-dev-admin at opencms.org 
> [mailto:opencms-dev-admin at opencms.org] On Behalf Of polysoft contact
> Sent: Monday, May 26, 2003 12:12 PM
> To: opencms-dev at opencms.org
> Subject: [opencms-dev] Please tell me why?
>  Hi,
>     I've almost finished chinese localization,but now,i met a upset 
> problem.
> When i first login,the login window displays English,but if i 
> login and 
> then logout,the login window display chinese ,i want  to 
> display chinese 
> when user login first,what should i do?if other language 
> localization met 
> this problem?
>     Be thirsty for your answers,thanks.            
>                                                               Tarzan
> _________________________________________________________________
> 与联机的朋友进行交流,请使用 MSN Messenger:
> _______________________________________________
> This mail is send to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, 
> please visit http://mail.opencms.org/mailman/listinfo/opencms-dev

More information about the opencms-dev mailing list