In-Portal Issue Tracker - In-Portal CMS
Viewing Issue Advanced Details
471 [In-Portal CMS] Front End feature request N/A 2009-12-23 02:01 2010-07-22 15:06
alex  
alex  
normal  
closed 5.0.2-B1  
fixed  
 
none 5.1.0-B1  
http://groups.google.com/group/in-portal-dev/browse_thread/thread/fceaac790c383560?hl=en
Ability to auto-detect Language based on visitor's browser settings
0
0000471: Implement site content language negotiation
For now, when user goes to site directly to the site, e.g.
http://www.site.com, then site content is shown on default language (same
for all users). Of course later user can choose other language later. There
is such setting in user browser as preferred languages, where he sets up
languages he/she wants to view sites on (by the priority). Such header is
called "Accept-Language" and is sent each time user visits the site. I
propose we detect default user language based on this header. When no
language matches, then we use language, marked as default.
patch language_negotiation.patch (8,766) 2010-03-11 14:41
http://tracker.in-portal.org/file_download.php?file_id=343&type=bug
patch language_negotiation_v2.patch (7,939) 2010-05-01 11:53
http://tracker.in-portal.org/file_download.php?file_id=508&type=bug
patch language_negotiation-Dmitry.patch (7,998) 2010-05-02 12:56
http://tracker.in-portal.org/file_download.php?file_id=515&type=bug
Issue History
2010-07-22 15:06 alex Note Added: 0002533
2010-07-22 15:06 alex Status resolved => closed
2010-05-05 11:14 alex Note Added: 0002064
2010-05-05 11:14 alex Status reviewed and tested => resolved
2010-05-05 11:14 alex Fixed in Version => 5.1.0-B1
2010-05-05 11:14 alex Resolution open => fixed
2010-05-05 11:14 alex Changeset attached 5.1.x r13489
2010-05-02 12:57 Dmitry Note Added: 0002048
2010-05-02 12:57 Dmitry Assigned To !COMMUNITY => alex
2010-05-02 12:57 Dmitry Status needs testing => reviewed and tested
2010-05-02 12:56 Dmitry File Added: language_negotiation-Dmitry.patch
2010-05-02 12:54 Dmitry File Deleted: language_negotiation_v1-Dmitry.patch
2010-05-02 12:51 Dmitry File Added: language_negotiation_v1-Dmitry.patch
2010-05-01 11:53 alex Note Added: 0002035
2010-05-01 11:53 alex Status needs work => needs testing
2010-05-01 11:53 alex File Added: language_negotiation_v2.patch
2010-04-28 11:41 Dmitry Change Log Message Auto-detect Language based on visitor's browser settings => Ability to auto-detect Language based on visitor's browser settings
2010-04-28 11:41 Dmitry Change Log Message => Auto-detect Language based on visitor's browser settings
2010-04-28 11:32 Dmitry Note Added: 0002026
2010-04-28 11:32 Dmitry Status needs testing => needs work
2010-03-11 14:42 alex Time Estimate Removed 2 =>
2010-03-11 14:42 alex Assigned To alex => !COMMUNITY
2010-03-11 14:42 alex Developer => alex
2010-03-11 14:42 alex Status needs work => needs testing
2010-03-11 14:41 alex File Added: language_negotiation.patch
2010-02-02 16:47 Dmitry Assigned To => alex
2010-02-02 16:47 Dmitry Status active => needs work
2010-01-12 11:14 alex Time Estimate Added 2
2010-01-12 10:39 alex Target Version Icebox => 5.1.0
2009-12-23 02:04 alex Reproducibility always => N/A
2009-12-23 02:01 alex Target Version => Icebox
2009-12-23 02:01 alex New Issue
2009-12-23 02:01 alex Reference => http://groups.google.com/group/in-portal-dev/browse_thread/thread/fceaac790c383560?hl=en

Notes
(0002026)
Dmitry   
2010-04-28 11:32   
Please reassemble.
(0002035)
alex   
2010-05-01 11:53   
Re-assembled.
(0002048)
Dmitry   
2010-05-02 12:57   
Minor issue found while testing - need to do STRTOLOWER for $_SERVER['HTTP_ACCEPT_LANGUAGE'] for feature to work in IE, FF, Chrome and other Browsers.

Please use attached by me patch.
(0002064)
alex   
2010-05-05 11:14   
Fix committed to 5.1.x branch. Commit Message:

Fixes 0000471: Implement site content language negotiation
(0002533)
alex   
2010-07-22 15:06   
Closing, since 5.1.0 release has been released.