Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 01-12-2009, 03:53 PM   #1
nico-t
emperor of my world
 
Join Date: Aug 2004
Location: nethalands
Posts: 29,903
multi language script on a site

gonna make a dutch site but want a button that peeps can switch to english, and also geo targeted so that visitors from outside belgium and holland see the english version automatically when they visit. I am gonna make it in dutch & for now automatic script based translation to english will do
nico-t is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-13-2009, 05:25 AM   #2
nico-t
emperor of my world
 
Join Date: Aug 2004
Location: nethalands
Posts: 29,903
bizzumpp
nico-t is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-13-2009, 05:44 AM   #3
CaptainHowdy
Too lazy to set a custom title
 
CaptainHowdy's Avatar
 
Industry Role:
Join Date: Dec 2004
Location: Happy in the dark.
Posts: 93,308
If you ever need a hand with English --> Spanish drop me a line: rosarioescorts (at) gmail (dot) com ... Goodluck!
__________________
"Tjeezers.cam wishes you a nice day”
CaptainHowdy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-13-2009, 05:48 AM   #4
tranza
ICQ: 197-556-237
 
Join Date: Jun 2003
Location: BRASIL !!!
Posts: 57,559
You'll make some money in it, it's a nice idea!
__________________
I'm just a newbie.
tranza is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-13-2009, 11:48 AM   #5
borked
Totally Borked
 
borked's Avatar
 
Industry Role:
Join Date: Feb 2005
Posts: 6,284
what do you mean you want a button to switch to english?

<a href="/en/" title="Switch to English">Switch to English</a>

will suffice? or even a little British flag etc


For the geo stuff, download Maxmind's database and install as an apache module, then (in php)
if ($_SERVER['GEOIP_COUNTRY_CODE'] != 'BE') {
header("Location: /en/");
exit();
}

or if installing as apache modules boggles the brain to much, use geoplugin...

$geolocation_data = unserialize(file_get_contents('http://www.geoplugin.net/php.gp?ip=xx.xx.xx.xx'));
if ($geolocation_data['geoplugin_countryCode'] != 'BE') {
header("Location: /en/");
exit();
}
__________________

For coding work - hit me up on andy // borkedcoder // com
(consider figuring out the email as test #1)



All models are wrong, but some are useful. George E.P. Box. p202

Last edited by borked; 01-13-2009 at 11:52 AM..
borked is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-13-2009, 11:53 AM   #6
nico-t
emperor of my world
 
Join Date: Aug 2004
Location: nethalands
Posts: 29,903
thanks borked, gonna check it out
nico-t is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-13-2009, 11:55 AM   #7
borked
Totally Borked
 
borked's Avatar
 
Industry Role:
Join Date: Feb 2005
Posts: 6,284
However, word of advice, for language-localised sites, ALWAYS go off what the browser local is set to, not the person's country.

eg, my browser locale is set to english, yet I reside in France. It *really* pisses me of when I visit a language-localised site and the site is displayed in french.

My browser says I prefer to read web pages in English, not fucking French ;)
__________________

For coding work - hit me up on andy // borkedcoder // com
(consider figuring out the email as test #1)



All models are wrong, but some are useful. George E.P. Box. p202
borked is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.