In-Portal Issue Tracker

Welcome to the In-Portal Open Source CMS Issue Tracker! This is a central management / tracking tool for all types of tasks / issues / bugs for the In-Portal Project. Before reporting any issues, please make sure to read the Guide into Issue Tracker and How to Properly Test and Report Bugs!

Viewing Issue Simple Details Jump to Notes ] Wiki ] View Advanced ] Issue History ] Print ]
ID Category Type Reproducibility Date Submitted Last Update
0000471 [In-Portal CMS] Front End feature request N/A 2009-12-23 02:01 2010-07-22 15:06
Reporter alex View Status public Project Name In-Portal CMS
Assigned To alex Developer
Priority normal Resolution fixed Fixed in Version 5.1.0-B1
Status closed Product Version 5.0.2-B1 Target Version 5.1.0
Time EstimateNo estimate
Summary 0000471: Implement site content language negotiation
Description 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.
Additional Information
Tags No tags attached.
Reference http://groups.google.com/group/in-portal-dev/browse_thread/thread/fceaac790c383560?hl=en
Change Log Message Ability to auto-detect Language based on visitor's browser settings
Estimate Points 0
Attached Files patch file icon language_negotiation.patch [^] (8,766 bytes) 2010-03-11 14:41 [Show Content]
patch file icon language_negotiation_v2.patch [^] (7,939 bytes) 2010-05-01 11:53 [Show Content]
patch file icon language_negotiation-Dmitry.patch [^] (7,998 bytes) 2010-05-02 12:56 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
User avatar (0002026)
Dmitry (manager)
2010-04-28 11:32

Please reassemble.
User avatar (0002035)
alex (manager)
2010-05-01 11:53

Re-assembled.
User avatar (0002048)
Dmitry (manager)
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.
User avatar (0002064)
alex (manager)
2010-05-05 11:14

Fix committed to 5.1.x branch. Commit Message:

Fixes 0000471: Implement site content language negotiation
User avatar (0002533)
alex (manager)
2010-07-22 15:06

Closing, since 5.1.0 release has been released.

- Related Changesets
In-Portal CMS: 5.1.x r13489
Timestamp: 2010-05-05 11:14:12
Author: alex
Details ] Diff ]
Fixes 0000471: Implement site content language negotiation
mod - /in-portal/branches/5.1.x/core/install/install_data.sql Diff ] File ]
mod - /in-portal/branches/5.1.x/core/install/upgrades.sql Diff ] File ]
mod - /in-portal/branches/5.1.x/core/kernel/utility/http_query.php Diff ] File ]
mod - /in-portal/branches/5.1.x/core/kernel/utility/unit_config_reader.php Diff ] File ]
mod - /in-portal/branches/5.1.x/core/units/helpers/mod_rewrite_helper.php Diff ] File ]
mod - /in-portal/branches/5.1.x/core/units/languages/languages_item.php Diff ] File ]

- Issue History
Date Modified Username Field Change
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



Web Development by Intechnic
In-Portal Open Source CMS
In-Portal Open Source CMS
Copyright © 2000 - 2009 MantisBT Group

Powered by Mantis Bugtracker