Adult Script Pro Community Forums

The forum is here for legacy reasons. No new posts will be created. User registration is disabled! If you have any questions, please email us or check https://www.adultscriptpro.com for more details!

You are not logged in.

#1 2013-03-09 11:40:08

twistedpear
Member
Registered: 2013-02-08
Posts: 4
Website

Automatic detection of user's language

Hi,

I think it would be good to have the mechanism that automatically detects the user's language preference so they needn't actually click on their flag. I'm using a hack like this for the meantime:

function isJapanese() {
    return substr($_SERVER['HTTP_ACCEPT_LANGUAGE'], 0, 2) == "ja";
}

Offline

#2 2013-04-08 07:07:23

rbmoss
Member
Registered: 2012-08-17
Posts: 36

Re: Automatic detection of user's language

this is one great feature as internationalization/globalization function libraries have been introduced across various platforms and  several visitors are more comfortable with content delivered to them in there native language.

Offline

#3 2013-04-08 08:07:13

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: Automatic detection of user's language

This feature will not be added. If for example i'm in Japan and i want to browse a site, the browser is in japanese, but i want english ....


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

#4 2013-05-29 11:20:57

satty
Member
Registered: 2012-08-23
Posts: 29

Re: Automatic detection of user's language

So non- English language users would be at loss.

Offline

#5 2013-05-29 18:03:34

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: Automatic detection of user's language

Its easy to implement if you need this. Maybe i'll add it as a enable/disable feature.


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

#6 2013-07-10 06:03:43

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: Automatic detection of user's language

@AdultHeaven: whats you said is already added.


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

Board footer

Powered by FluxBB