![]() |
![]() |
![]() |
||||
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. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
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 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
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 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Confirmed User
Industry Role:
Join Date: Nov 2009
Location: Heaven
Posts: 4,306
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Totally Borked
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 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
Too lazy to set a custom title
Join Date: Nov 2002
Location: Earth
Posts: 14,627
|
Thanks guy. Getting on it.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
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. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 |
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 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 | |
Totally Borked
Industry Role:
Join Date: Feb 2005
Posts: 6,284
|
Quote:
![]()
__________________
![]() 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 |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 |
Too lazy to set a custom title
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 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#10 | |
Confirmed User
Join Date: Oct 2002
Posts: 3,745
|
Quote:
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 |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#11 |
Confirmed User
Join Date: Oct 2002
Posts: 3,745
|
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 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#12 | |
Too lazy to set a custom title
Industry Role:
Join Date: Oct 2002
Location: Punta Cana, DR
Posts: 29,585
|
Quote:
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 .... |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#13 |
cipriani
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 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#14 | |
Confirmed User
Industry Role:
Join Date: Jul 2005
Location: icq#: 639544261
Posts: 1,965
|
Quote:
Use ISO codes or the language name in the target language. Example ภาษาไทย for Thai.
__________________
I'm out. |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#15 |
Confirmed User
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 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#16 | |
Too lazy to set a custom title
Industry Role:
Join Date: Oct 2002
Location: Punta Cana, DR
Posts: 29,585
|
Quote:
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 .... |
|
![]() |
![]() ![]() ![]() ![]() ![]() |