WebDesignChat
 
Partners
Web Design Resources
Web Designers Directory
Html Help
WPDFD
Tip Tricks
Page Resource
Design Companies
Website Design
Ceonex Web Design
LevelTen Design
Web Designing
Resources
Web Hosting Reviews
Free Design Stuff
Free Fonts
Free Graphics
Stylesheet Editor
Web Editor
Form Mail Script
Free Search Engine Submission
Photoshop Tutorials
Advertise Here
Welcome to WebDesignChat.org. Web Design chat is a one stop place to chat about all the latest happenings going in web design field. Here you can increase your knowledge as well as help others to grow their knowledge on Web Designing.


Go Back   Web Design Forum > Web Programming > Php and MySql
User Name
Password
Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 06-12-2006, 12:33 PM
j4mes_bond25 j4mes_bond25 is offline
Junior Member
 
Join Date: Apr 2006
Posts: 11
Question PHP welcome message in viewer's language ???

One of the page from my presently under-contruction website can be seen on http://members.lycos.co.uk/darsh25/...te/services.php

As it can be seen from the HEADER (right at the top) that I've the text-size selector (which isn't working, at the moment) along with the present date (as set in user's own computer).

Realising that such a "text-sizer" isn't quite a good idea since browser provides that facility anyway, I'm thinking to get rid-off this text-sizer and leave the "date" code as it is.

However, in the same HEADER area, I wonder if there's ANYTHING in PHP that allows to do the following:

>> Firstly, identify the "clock/time setting" in their computer and then display message saying "Good Morning/Afternoon/Evening".

>> Additionally, I would like this "Good Morning/Afternoon/Evening" appearing in viewers OWN language i.e. if he's from English speaking country then this message should appear in ENGLISH, if he's from French speaking country this message should appear in FRENCH, etc.

I've read a book few months back on PHP which said such a thing could be possible using a PHP script that identifies the "clock timing" along with the "language" set on viewers browser (or something like that).

I really DO NOT want to ask user about their language/country (and then display the message in THEIR language) since not all viewers would appreciate answering such question and beside the services of my website in itself isn't quite relevant to asking such question.

Hence, would there be anything within PHP script that identifies the relevant information (time & language/country) and then display the necessary "Welcome Message" such as:

> Good Morning, Hope you enjoy your stay (if user's location or brower setting is ENGLISH)
> Guten Morning, (same message in German) (if user's location or brower setting is GERMAN).
> Bonjour, (same message in French) (if user's location or brower setting is FRANCE/French speaking location).

Any idea, alternative thing to do instead, recommendation, help or guidance would be greatly appreciated.
Reply With Quote
Sponsored Links
  #2  
Old 06-17-2008, 10:21 PM
need2Blove need2Blove is offline
Junior Member
 
Join Date: Jun 2008
Posts: 9
Talking thanks for sharing!

thanks for sharing dude!
______________________________
Someone who convinces you that there really is an unlocked door just waiting for you to wow gold open it.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




All times are GMT. The time now is 07:05 PM.
Powered by: vBulletin Version 3.0.3

Copyright ©2000 - 2005, Jelsoft Enterprises Ltd.