| Author |
Message |
Leachim
Joined: 27 May 2007 Posts: 229
|
Posted: Sat 23 Feb 2008, 08:33 Post subject:
Automatic time zone and language detection |
|
I want to write a wizard for Simplux and Puppy that automatically detects timezone, keyboard layout and language spoken. To achieve this I will retrieve informations from sites like http://www.ip2location.com.
This site only reports information about your own IP-address. To start writing the wizard I would need several example input data. Maybe some of you can post their results. I'm only interested in the fields Location and Time Zone.
Here is the example output of my own PC:
Location: AUSTRIA, WIEN, VIENNA
Time Zone: UTC +01:00
|
|
Back to top
|
|
 |
HairyWill

Joined: 26 May 2006 Posts: 2949 Location: Southampton, UK
|
Posted: Sat 23 Feb 2008, 09:55 Post subject:
|
|
it reports the correct values for me
| Code: | Location : UNITED KINGDOM, ENGLAND, LONDON
Time Zone : UTC +00:00 |
_________________ Will
contribute: community website, screenshots, puplets, wiki, rss
Last edited by HairyWill on Sat 23 Feb 2008, 10:12; edited 1 time in total
|
|
Back to top
|
|
 |
trapster

Joined: 28 Nov 2005 Posts: 1966 Location: Maine, USA
|
Posted: Sat 23 Feb 2008, 10:03 Post subject:
|
|
| Code: | Location : UNITED STATES, MASSACHUSETTS, WORCESTER
Time Zone : UTC -05:00 |
_________________ trapster
Maine, USA
Asus eeepc 1005HA PU1X-BK
Frugal install:Puppeee4.31 + 1.0, Puppy4.10 + Lupu52
Currently using Puppeee-1.0 AND lupu52 w/ fluxbox
|
|
Back to top
|
|
 |
JustGreg
Joined: 24 May 2005 Posts: 651 Location: Connecticut USA
|
Posted: Sat 23 Feb 2008, 10:27 Post subject:
|
|
Here is my information from the site for your use:
| Code: | Location : UNITED STATES, CONNECTICUT, UNCASVILLE
Time Zone : UTC -05:00
|
_________________ Enjoy life, Just Greg
Live Well, Laugh Often, Love Much
|
|
Back to top
|
|
 |
Sit Heel Speak

Joined: 30 Mar 2006 Posts: 2595 Location: downwind
|
Posted: Sat 23 Feb 2008, 14:45 Post subject:
|
|
It shows the same IP for me as given by Gibson Research at
https://www.grc.com/x/ne.dll?bh0bkyd2
but it reports this for me. But I'm actually near Seattle -- GMT -8, two time zones west of Kansas:
UNITED STATES, KANSAS, DODGE CITY
UTC -06:00
I guess my ISP must be proxying me through Wyatt Earp and Bat Masterson's old server.
|
|
Back to top
|
|
 |
Sit Heel Speak

Joined: 30 Mar 2006 Posts: 2595 Location: downwind
|
Posted: Sat 23 Feb 2008, 15:24 Post subject:
|
|
www.worldtimeserver.com offers a Windows program I use, Atomic Clock Sync, which pings whichever of about 6 servers you select. Correct time is extracted from the pingback timestamp. Of course, you need Port 13 open (or mapped) in your proxy server for a time-setting ping to work. The average user, setting up Simplux for the first time from behind a proxy, might be thwarted by not knowing this.
|
|
Back to top
|
|
 |
Kazm
Joined: 14 Jan 2008 Posts: 29 Location: Russia, Ufa
|
Posted: Sun 24 Feb 2008, 06:49 Post subject:
|
|
| Code: | Location : RUSSIAN FEDERATION,
Time Zone : UTC +03:00
|
but my timezone UTC+5
|
|
Back to top
|
|
 |
WhoDo

Joined: 11 Jul 2006 Posts: 4441 Location: Lake Macquarie NSW Australia
|
Posted: Sun 24 Feb 2008, 07:02 Post subject:
|
|
Worked ok for me:
| Code: | Location : AUSTRALIA, NEW SOUTH WALES, SYDNEY
Time Zone : UTC +10:00 |
_________________ Actions speak louder than words ... and they usually work when words don't!
SIP:whodo@proxy01.sipphone.com; whodo@realsip.com
|
|
Back to top
|
|
 |
Lobster
Official Crustacean

Joined: 04 May 2005 Posts: 15109 Location: Paradox Realm
|
Posted: Sun 24 Feb 2008, 07:08 Post subject:
|
|
correct
| Code: | Location : UNITED KINGDOM, ENGLAND, LONDON
Time Zone : UTC +00:00 |
_________________ Puppy WIKI
|
|
Back to top
|
|
 |
klu9
Joined: 27 Jun 2007 Posts: 345
|
Posted: Sun 24 Feb 2008, 14:08 Post subject:
|
|
Corectly reports:
| Code: | Location: MEXICO
Time Zone: UTC -06:00 |
BTW I combine a Spanish-speaking location, a preferred language of English and a mixture of Latin American, UK & US keyboards... I'm curious as to how your wizard would handle that.
|
|
Back to top
|
|
 |
ricstef
Joined: 01 Aug 2006 Posts: 52 Location: Woodstock, ON. Canada
|
Posted: Wed 27 Feb 2008, 00:38 Post subject:
Automatic time zone Subject description: works for me |
|
correct for me.
| Code: | Location: Canada, Ontario, Hamilton,
Time zone: -05:00 |
|
|
Back to top
|
|
 |
Bert

Joined: 30 Jun 2006 Posts: 693
|
Posted: Wed 27 Feb 2008, 08:28 Post subject:
|
|
Leachim, this is a great idea!
| Code: |
Location : BELGIUM, GENT
Connecting through : SKYNET-ADSL
Time Zone : UTC +01:00
Net Speed : DSL |
_________________

|
|
Back to top
|
|
 |
eccentric
Joined: 05 Jan 2006 Posts: 128 Location: Khon Kaen Thailand
|
Posted: Thu 28 Feb 2008, 03:00 Post subject:
Auto. time zone Subject description: China |
|
My report is :- Beijing UTC +8hrs But all of China is +8hrs. also H.K.
If you are writing English you use a USA keyboard. i could not buy an English keyboard in Nanning China.
Michael.
|
|
Back to top
|
|
 |
Leachim
Joined: 27 May 2007 Posts: 229
|
Posted: Thu 28 Feb 2008, 07:25 Post subject:
|
|
First: thanks to all who submitted entries!
Second: please post the complete entry lines (most of you did!), I need to know about the formatting details.
|
|
Back to top
|
|
 |
Sit Heel Speak

Joined: 30 Mar 2006 Posts: 2595 Location: downwind
|
Posted: Sat 01 Mar 2008, 18:50 Post subject:
|
|
Well ...cue Twilight Zone music...enter Rod Serling, screen right...
It is now showing correctly:
| Code: | Location : UNITED STATES, WASHINGTON, SEATTLE
Time Zone : UTC -08:00 |
Caveat: I have changed the real 'burb I'm in, to the big city nearby.
I am certain it was showing Dodge City, Kansas before. Wish I'd taken a screen capture...
|
|
Back to top
|
|
 |
|