[Yanel-dev] [Bug 5291] chain of responsibility for languages of a resource

bugzilla-daemon at bugzilla.wyona.com bugzilla-daemon at bugzilla.wyona.com
Wed Apr 18 23:56:28 CEST 2007


http://bugzilla.wyona.com/cgi-bin/bugzilla/show_bug.cgi?id=5291





------- Additional Comments From josias.thoeny at wyona.org  2007-04-18 23:56 -------
Created an attachment (id=658)
 --> (http://bugzilla.wyona.com/cgi-bin/bugzilla/attachment.cgi?id=658&action=view)
patch for chain of responsibility in xmlresource

This patch improves the language priorization in the xmlresource.
It does not exactly correspond to Michi's proposal, though. 
Here's the priority list:

1) yanel.meta.language query string parameter 
2) Translation Manager
3) Resource Configuration property 
4) Accept-Language header
5) Realm default language
6) Default "en"

This is maybe not the final solution, I will think again about the issue, and
especially about how to make it reusable for all resources. 
I just submitted this patch now to have a fix for the problem with the wrong
language links.




------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.



More information about the Yanel-development mailing list