Test message, please ignore.
--
David D. Smith
pgpNRY3Ikpaig.pgp
Description: PGP signature
I really liked to be able to define a route like this:
map.connect('*pagename;:action', controller='page')
but it seems unpossible (according to
http://routes.groovie.org/manual.html#wildcard-limitations-and-gotchas)
... actually the main problem is because action='index' is defined by
default
On Feb 1, 2007, at 6:29 AM, James Gardner wrote:
I've followed up Alberto's suggestion of basing our doc on the TG
guidelines. You can find the document here:
http://pylonshq.com/project/pylonshq/wiki/ReportingProblems
Looks good to me!
- Ben
On Feb 1, 2007, at 10:06 PM, Uwe Feldtmann wrote:
Is request.environ['HTTP_ACCEPT_LANGUAGE'] the best way to get access
to the languages acceptable to the browser?
This is what I get when I execute the above:-
en-GB,en;q=0.9,en-us;q=0.8,en-US;q=0.6,ar-AE;q=0.5,ar;q=0.4,en-
Thanks all. I've updated to the latest Devs of Pylons and Paste and
will test later today.
Ben Bangert wrote:
Yep, the latest Paste now has a languages attribute on the request
object, and the latest dev Pylons can handle being passed a list of
languages (like the request.languages will
What I want is to pick up the languages supported by the browser in the
order in which they are specified by the browser. It would appear that
Firefox changes the sequence of the languages based on the currently
selected locale - at least my copy does.
Most probably ... since that string
Damjan wrote:
What I want is to pick up the languages supported by the browser in the
order in which they are specified by the browser. It would appear that
Firefox changes the sequence of the languages based on the currently
selected locale - at least my copy does.
Most probably ...
Uwe Feldtmann uwe-t63v2z5pxu/[EMAIL PROTECTED] writes:
Damjan wrote:
What I want is to pick up the languages supported by the browser in
the
order in which they are specified by the browser. It would appear
that
Firefox changes the sequence of the languages based
I've written up unit tests and create a ticket for them to be merged (#193)
You can view the patch online at
http://bosabosa.org/~dds/darcs/index.cgi?r=pylons;a=commit;h=20070205041826-1caef-280606e89ae354f655b4cce0ce6b121218b10056.gz
There is a binary mo file in the patch that will probably
David Smith wrote:
How are you setting that header that way in your browser? Which
browser are you using? The q=0.X values are supposed to be
preference quotients that sum to 1.0 used for sorting. I didn't
think we'd have to handle the case of them summing to far more
than 1.0 or having so
Hi Ben.
Ben Bangert wrote:
print request.environ['HTTP_ACCEPT_LANGUAGE'] returns
en-GB,en;q=0.9,en-US;q=0.8,en-us;q=0.6,ar-AE;q=0.5,ar;q=0.4,en-
gb;q=0.3,en;q=0.1
print request.languages returns
['en-gb', 'en', 'en-us']
It appears to be dropping the ar-AE and ar but only until I switch
11 matches
Mail list logo