Mobile app version of vmapp.org
Login or Join
Nimeshi995

: Browser language detection & content ranking for new language on the same site I've been reading a lot about it but it's still really hard to make up my mind. My understand is that if your

@Nimeshi995

Posted in: #Multilingual #Ranking

I've been reading a lot about it but it's still really hard to make up my mind.

My understand is that if your website provide a link to the other language, this should not be an issue for google as long as your links are clear and clean, google will be able to make his way through it.

The website was orginaly in french and I added the english version and I'm just worry that english speaker will just leave if the site is not in the correct language, for the home page I just wanted to get the value from the browser and redirect it to /fr/ or /en/ for the first page.
(using php this will be very easy)

Also the website has good rank on the french side and the english has been online for 2 weeks and only get few visit a day, is that because all the back link refer to /fr/ and google is cleaver enough to decide that they are 2 differantes website and the back link will have to point to /en/ to increase the ranking value? Or will take few more weeks for the website to grow?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Nimeshi995

1 Comments

Sorted by latest first Latest Oldest Best

 

@Pierce454

You shouldn't set the language using the browser language, that's not really reliable.
For example I'm using firefox in english but I'm french and most of the pages that I visit are written in French.

Anyway, there is a line in the header of the http protocol called Accept-Language.This field depends on the browser that you use and is calculated from the way you navigate from sites to sites.

you can use this information to set the default language of your site (i.e. the user visits the domain for the first time).

Here's a link where you can find a script that treats this field and gives you an array with an entry for each language found in it :

Parse Accept-Language to detect a user's language

You'll find more information about this Accept-Language field there.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme