Thread: from Gatwick
View Single Post
  #42   Report Post  
Old February 19th 13, 11:24 AM posted to uk.transport.london
Walter Briscoe Walter Briscoe is offline
external usenet poster
 
First recorded activity at LondonBanter: Oct 2005
Posts: 392
Default from Gatwick

In message of Tue, 19
Feb 2013 11:29:47 in uk.transport.london, David Cantrell
writes
On Mon, Feb 18, 2013 at 07:30:26AM +0000, Walter Briscoe wrote:
In message id of Sun,
17 Feb 2013 15:23:50 in uk.transport.london, Dr J R Stockton reply1300@
merlyn.demon.co.uk.invalid writes
Presumably the two-letter code for the squiggle squiggle language, which
a squiggle squiggle reader should know. The site goes blank for unknown
codes, which is bad implementation.

I don't believe that this site is designed to facilitate calling it as a
URL in languages other than German - the default language.


What are you smoking?


http://journeyplanner.tfl.gov.uk/user/XSLT_TRIP_REQUEST2?
is mapped by some process I do not understand onto
http://journeyplanner.tfl.gov.uk/use...EQUEST2?langua
ge=de in both Firefox and Internet Explorer. That is why I say German
is the Journey Planner default language. e.g. "Travelling from ..."
appears as "Abfahrt von...".


You seriously think that TfL's website's default language is GERMAN?

I did not say that. I said the Journey Planner's default language is
German.


It requires effort to learn how to drive that interface.


No, it requires the ability to read. Do you see the drop-down thingy
near the top of the page that says "English" (or, perhaps, on your
planet, "Deutsch")? Click on it.


The interface I was referring to is language=foo on the URL.
Please explain how the ability to read gives an understanding of that.


It seems to require source access to find those codes.


No it doesn't.

What is required?

In Internet Explorer, that is easy - View/Source. In Firefox, the option
is more obscure and I can't be bothered finding it.


Right-click on the page, View Page Source.


Thank you.


The source which does the selection is
label class="structural-label" for="languages"Change
language/labelselect name="language" id="languages"option
value="en" selected="selected"English/optionoption value="de"Deutsc
h/option...

The language selectors are en, de, fr, etc.
e.g. to call it in Türkçe(I assume that is Turkish), the URL is
http://journeyplanner.tfl.gov.uk/user/XSLT_TRIP_REQUEST2?language=tr


Those are the ISO-something-or-other language codes.


http://en.wikipedia.org/wiki/List_of_ISO_639-1_codes seems relevant.
--
Walter Briscoe