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 09-01-2011, 11:17 AM   #1
slapass
Too lazy to set a custom title
 
Join Date: Nov 2002
Location: Earth
Posts: 14,627
Adding a second language to a site

what is the best way??? I am thinking of avoiding the detecting the browser language. I worry about the current google ranking getting blasted. Auto redirects seem bad but is their a easy way to do it where it doesn't effect google? the little flags?

Then just add a new folder for the language and start typing? Subdomain is better? Would like it all on the same site.

any hints or Don't do's?

Thanks
slapass is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-01-2011, 11:58 AM   #2
PornDiscounts-R
Confirmed User
 
Industry Role:
Join Date: Aug 2006
Location: Denmark
Posts: 1,271
Would also like to know this
__________________
Email# rasmus(you*know)porndiscounts.com
PornDiscounts-R is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-01-2011, 12:35 PM   #3
cooldude7
Confirmed User
 
cooldude7's Avatar
 
Industry Role:
Join Date: Nov 2009
Location: Heaven
Posts: 4,306
add flags and link them to


http://translate.google.com/translat...sina.com.cn%2F
cooldude7 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-01-2011, 01:32 PM   #4
borked
Totally Borked
 
borked's Avatar
 
Industry Role:
Join Date: Feb 2005
Posts: 6,284
never create a subdomain.... make it an extension of the main domain
eg
domain.com/en/index.shtml
domain.com/fr/index.shtml

the SE will love you better for it...
and *always* detect on browser language

edit-
you can make
domain.com/index.shtml

the default english site with some mod_rewrite if you don't want to screw up your SE rankings
__________________

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; 09-01-2011 at 01:34 PM..
borked is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-03-2011, 07:45 PM   #5
slapass
Too lazy to set a custom title
 
Join Date: Nov 2002
Location: Earth
Posts: 14,627
Thanks guy. Getting on it.
slapass is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-03-2011, 08:33 PM   #6
raymor
Confirmed User
 
Join Date: Oct 2002
Posts: 3,745
Google and your users will love if you follow standards. There's a reason the browser tells you which languages the user prefers, and in which order.

Only html needs to be translated of course, not css, javascript, pics, etc. Partly for that reason, the standard way to do it is to add a language suffix to the filename, such as index.html.de for German. Then just turn on content negotiation and Apache will do the rest.
People much smarter than either of us spent several years designing the standard system. Then other really smart people did a lot of work to make sure that Apache and all of the browsers work well with the standard. Anything you or I come up with eil such compared to what thousands of really smart people have already done for us, so don't reinvent this. It's already fine really well and it's called content negotiation.

See the mod_negotiation docs for other options besides adding a suffix to the file name. Seriously though, people who really know their stuff have put probably thousands of hours into making a system that works really well and you get it for free just by turning the feature on in Apache if it's been turned off. They thought of things like caches. When a Canadian ISP caches your home page, should it be the English version or the French? mod_negotiation makes sure that the ISP cache shows the right thing to the right user. That also makes google.fr very happy.

Last edited by raymor; 09-03-2011 at 08:42 PM..
raymor is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-03-2011, 08:53 PM   #7
raymor
Confirmed User
 
Join Date: Oct 2002
Posts: 3,745
Btw if you need to prove it to yourself, set your browser or system language to Spanish, then load google.com. Google will give you the Spanish version of their page because google follows the standard and respects your browser preference. they do not redirect you. They just allow negotiation to show the version that matches the language you set in your brower.

So does Google think that's a sign of a good site? They do if they think they are doing the right thing themselves!
__________________
For historical display only. This information is not current:
support@bettercgi.com ICQ 7208627
Strongbox - The next generation in site security
Throttlebox - The next generation in bandwidth control
Clonebox - Backup and disaster recovery on steroids
raymor is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-04-2011, 12:47 PM   #8
borked
Totally Borked
 
borked's Avatar
 
Industry Role:
Join Date: Feb 2005
Posts: 6,284
Quote:
Originally Posted by raymor View Post
Btw if you need to prove it to yourself, set your browser or system language to Spanish, then load google.com. Google will give you the Spanish version of their page because google follows the standard and respects your browser preference. they do not redirect you.
Hmm, not entirely correct - I am in France and my system and browser is set to English-UK. Yet whenever I vist google.com I get sent to google.fr. I am to manually opt out of google.fr to say use google.com

__________________

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
Old 09-04-2011, 12:53 PM   #9
fris
Too lazy to set a custom title
 
fris's Avatar
 
Industry Role:
Join Date: Aug 2002
Posts: 55,242
what type of site is it, like static or is it using a cms, a lot of cms modules let you create 2nd, 3rd, etc languages by translating your strings.
__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.


WP Stuff
fris is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-04-2011, 01:08 PM   #10
raymor
Confirmed User
 
Join Date: Oct 2002
Posts: 3,745
Quote:
Originally Posted by borked View Post
Hmm, not entirely correct - I am in France and my system and browser is set to English-UK. Yet whenever I vist google.com I get sent to google.fr. I am to manually opt out of google.fr to say use google.com

That's a slightly different thing. Google.fr has different results than Google.com. It has different content partly because it's affected by different regulatory agreements.
That's a location based and a separate issue from language. For example google.fr, and google.ca are both available in French. The content on each is catered to a specific area.

Google.ca, like google.com, is available in multiple languages. Try switching your browser from Uk English, to US Spanish, for example. Google.com and google.ca will both switch languages.
__________________
For historical display only. This information is not current:
support@bettercgi.com ICQ 7208627
Strongbox - The next generation in site security
Throttlebox - The next generation in bandwidth control
Clonebox - Backup and disaster recovery on steroids
raymor is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-04-2011, 01:38 PM   #11
raymor
Confirmed User
 
Join Date: Oct 2002
Posts: 3,745
Quote:
Originally Posted by cooldude7 View Post
add flags and link them
The US has more Spanish speakers than Spain does. For a Western Hemisphere
Spanish dialect, do you use the Florida flag ir the California flag? Which flag for Arabic?
__________________
For historical display only. This information is not current:
support@bettercgi.com ICQ 7208627
Strongbox - The next generation in site security
Throttlebox - The next generation in bandwidth control
Clonebox - Backup and disaster recovery on steroids
raymor is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-04-2011, 02:19 PM   #12
directfiesta
Too lazy to set a custom title
 
directfiesta's Avatar
 
Industry Role:
Join Date: Oct 2002
Location: Punta Cana, DR
Posts: 29,585
Quote:
Originally Posted by fris View Post
what type of site is it, like static or is it using a cms, a lot of cms modules let you create 2nd, 3rd, etc languages by translating your strings.
with joomla and joomfish, you can do as many languages as you see fit ... and what is nice is that it keeps you on the same page, instad of bringing you back to the main ( first ) page ...

Also, joomfish allows you to have different content as it is not translated from google, but entered by the website builder .

Did a lawyer site with French, English and Spanish .. works nicely
__________________
I know that Asspimple is stoopid ... As he says, it is a FACT !

But I can't figure out how he can breathe or type , at the same time ....

Last edited by directfiesta; 09-04-2011 at 02:21 PM..
directfiesta is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-04-2011, 05:54 PM   #13
1726cash
cipriani
 
1726cash's Avatar
 
Industry Role:
Join Date: Jun 2011
Location: Bogota
Posts: 650
For me its a really big problem the language. I have to produce latin girls and translate in the same time to english and spanish, crazy mission, i need more gramatical and english class...
__________________
Cristian Cipriani - ICQ 424032053 - 1726media(at) gmail(point)com - www.quianon.com- Best Latinas Porn Producers - Lets make som magic www.santalatina.com
1726cash is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-04-2011, 06:14 PM   #14
mafia_man
Confirmed User
 
mafia_man's Avatar
 
Industry Role:
Join Date: Jul 2005
Location: icq#: 639544261
Posts: 1,965
Quote:
Originally Posted by raymor View Post
The US has more Spanish speakers than Spain does. For a Western Hemisphere
Spanish dialect, do you use the Florida flag ir the California flag? Which flag for Arabic?
And that's why you don't use flags to represent languages.

Use ISO codes or the language name in the target language.

Example ภาษาไทย for Thai.
__________________
I'm out.
mafia_man is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-04-2011, 06:36 PM   #15
INever
Confirmed User
 
INever's Avatar
 
Join Date: Jan 2005
Location: .......in a niche, in orbit......
Posts: 3,490
I just post some flag icons linking to dedicated google or yahoo translate.

Like. http://mypornsite.com/googletranslate/blahblahlahphp?
__________________
I love Camdough
INever is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-04-2011, 07:23 PM   #16
directfiesta
Too lazy to set a custom title
 
directfiesta's Avatar
 
Industry Role:
Join Date: Oct 2002
Location: Punta Cana, DR
Posts: 29,585
Quote:
Originally Posted by pornopete View Post

You are working on the assumption that all pages exist in all languages, and this is not always the case.
No, as if the page has no translation, it will display the default language of the site ...

main page text changes : fisetlegal dot com

an article in one language : fisetlegal dot com/index.php/es/nuestros-textos-en-copropiedad/128-destination-of-the-immovable-part-ii

You see at the top : There are no translations available. and it defaults to the only language for that article.
__________________
I know that Asspimple is stoopid ... As he says, it is a FACT !

But I can't figure out how he can breathe or type , at the same time ....
directfiesta 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.