Reply to Re: Showing script based on the country

Your name:

Reply:


Posted by Jukka K. Korpela on 07/06/06 08:25

jojo <jojo.hafner@gmx.de> scripsit:

> Nospam schrieb:
>> I have a few javascripts. I would like to show a certain script
>> based on the country ip of the viewer, how would I achieve this? is
>> there html I could use to run the javascript based on the country ip?
>
> Another solution would be to write everything in one script but call
> different functions according to the language.

Solution to what? Surely not to the question that was asked, though perhaps
to the question that the OP _meant_ to ask. It's probably still the wrong
question.

> The advantage would be
> that you can use JS to get the language selected in the browser:

No, it is a definite _disadvantage_, since now you would not even try to
select the user's preferred language but the language of the browser's
interface. This language is very often English even though the user knows
just a little English and prefers quite other languages. The simple reason
is that many browsers (especially new versions) are available as English
versions only.

--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация