History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: PORTAL-1649
Type: Improvement Improvement
Status: Resolved Resolved
Resolution: Fixed
Priority: Critical Critical
Assignee: Nguyen Dang Tung
Reporter: Patrice Lamarque
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
exo-portal

language as a user preference

Created: 30/May/08 07:14 AM   Updated: 16/Sep/08 04:44 AM
Component/s: component.portal
Affects Version/s: None
Fix Version/s: 2.2

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
Issue Links:
Depends
 
This issue is needed for:
PORTAL-1652 Needs to keep user locale chosen by t... Major Resolved

Resolution Date: 08/Aug/08
Date of First Response: 30/May/08


 Description  « Hide
When using language settings, the language choosen should be remembered as a user preference.
Next time he reconnects, the language will be set automatically.



 All   Comments   Work Log   Change History      Sort Order:
Patrice Lamarque - [30/May/08 07:21 AM ]
Here is the general logic proposed to set language at login :

- Look for user preference, if it doesn't exist (first login for example) or not supported by portal, then
- Look for browser preferred locale (in http headers). If not found or not supported by portal, then
- Take portal default locale.

Beware to use Locale instead of simply language. Date formats should change with locale.
The user locale should be easily available to other portql applications (REST API?) that want to localize their UI

Brice Revenant - [02/Jun/08 12:49 PM ]
I linked PORTAL-1652 to this issue.
A customer is willing to propagate the locale chosen by a user in public mode to the private mode. This makes things a bit more complicated.
For users who allow cookies, can we leverage them and try something like this (before something more complete is implemented ;-) ):

- Choice in the preferences have a higher priority than choice in the cookies, which have a higher priority than browser choice, which have a higher priority than default portal locale.
- Choosing "default language" deletes the cookie and/or user preferences.

Nguyen Dang Tung - [24/Jun/08 09:01 AM ]
We have a confict in login of language. This is the situation

1. in public mode, user change language setting to -> france for example, portal will change language to france
2. if user login and this user have user language preference is vietnamese
2.1 -> from SPF-1 we have to remain france language for private mode
2.2 -> keep user language preference (vietnamese) or private mode

What we can do for this problem?.

Patrice Lamarque - [24/Jun/08 08:20 PM ]
To solve this : as soon as the user logs in, switch to his preferred user locale.

Nguyen Dang Tung - [27/Jun/08 03:19 AM ]
I've resolved this issue by above priority, but now I put user language preference in user profile, so that we can't pre-configure language for default user of portal such as root, john...

To set user language preference we can go to edit use or change language of private mode for existed user.

I'll improve this issue to pre-configure language for default user as soon as posible.

Patrice, if you have any request, please let me know.

Many thanks.