You are here: Re: Language « All PHP « IT news, forums, messages
Re: Language

Posted by J.O. Aho on 12/16/05 14:29

m6s wrote:
> J.O. Aho wrote:
>> m6s wrote:
>>
>>> Can I select what page I will load based on the location of the viewer?
>>> If the page that will load will be, English or other?
>>
>>
>> Yes, it would be possible to do this, as most IP-numbers can be traced
>> with
>> whois servers where they should be located. This has of course it's
>> drawback,
>> what if you have a person visiting a foreign country and connect to
>> the net
>> and visits your site, then it could be in a language that the person
>> don't
>> understand.
>>
>> There is nowadays support for multiple languages in web servers, at
>> least in
>> the worlds most used one. This will make that you get the language
>> that the
>> user has set to be their default language in their browser. This will
>> take a
>> lot less CPU power and bandwidth for your web server than checking up
>> from
>> where an IP-number comes from and a user will most likely get the right
>> language regardless from where they connect.
>>
>>
>> //Aho
>
> Yes nice workaout, any suggestion on what to read? Any url? I want to
> tweak my site on sourceforge.net, because I get too many flames for this
> innability of mine... ;-(

I think they do run apache over there, so the apache documentation at
www.apache.org would be a good place to start, look for the following commands
for more information

DefaultLanguage
AddLanguage
LanguagePriority
ForceLanguagePriority


You may want to read about (not sure)

AddDefaultCharset
AddCharset



//Aho

 

Navigation:

[Reply to this 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

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