XFileSharing Pro - Auto language detection

Powerfull XFileSharing version

Moderator: admin

Message
Author
creco
Posts: 18
Joined: Aug 26, 2011 12:24 am
Contact:

Auto language detection

#1 Postby creco » Jun 24, 2012 10:38 pm

Hi, you do not know any trick for automatic language detection?

Under the state where visitors come from?

This feature would be really welcome

creco
Posts: 18
Joined: Aug 26, 2011 12:24 am
Contact:

#2 Postby creco » Jun 30, 2012 11:31 pm

any idea?

glumbo
Posts: 211
Joined: Mar 11, 2011 6:26 am
Location: US

#3 Postby glumbo » Jul 01, 2012 12:13 am

You need programing knowledge

Silfro
Posts: 48
Joined: May 16, 2012 1:31 am

#4 Postby Silfro » Jul 01, 2012 12:57 am

shouldn't be that hard..
The standard language is englisch.

flowcubano
Posts: 25
Joined: Dec 15, 2010 12:26 am

#5 Postby flowcubano » Jul 01, 2012 5:45 pm

Edit: XFileConfig.pm line 355

creco
Posts: 18
Joined: Aug 26, 2011 12:24 am
Contact:

#6 Postby creco » Jul 03, 2012 3:07 pm

flowcubano wrote:Edit: XFileConfig.pm line 355


Yes, I know. the default is English. But I want to when you come from Germany to have German language. If one comes from Russia to have the Russian language.

The line 355 is set all enable languages but ​​not allowed automatic detection of language.

flowcubano
Posts: 25
Joined: Dec 15, 2010 12:26 am

#7 Postby flowcubano » Jul 03, 2012 4:35 pm

You have to add this: * for automatic detection of language.

'ru.*' => 'russian',

creco
Posts: 18
Joined: Aug 26, 2011 12:24 am
Contact:

#8 Postby creco » Jul 06, 2012 2:14 am

flowcubano wrote:You have to add this: * for automatic detection of language.

'ru.*' => 'russian',


Sorry this does not work, it needs GeoIP

randy
Posts: 321
Joined: Mar 13, 2012 7:00 pm

#9 Postby randy » Jul 06, 2012 2:16 pm

just upload GeoIp.dat into your cgi-bin folder of xfs....

creco
Posts: 18
Joined: Aug 26, 2011 12:24 am
Contact:

#10 Postby creco » Jul 06, 2012 4:46 pm

randy wrote:just upload GeoIp.dat into your cgi-bin folder of xfs....


And how is it working?

I think that just copying is not enough.

randy
Posts: 321
Joined: Mar 13, 2012 7:00 pm

#11 Postby randy » Jul 07, 2012 6:28 am

why don't you just try it?

creco
Posts: 18
Joined: Aug 26, 2011 12:24 am
Contact:

#12 Postby creco » Jul 08, 2012 2:17 pm

randy wrote:why don't you just try it?


tried it, because it can not work. geoip.dat and automatic language detection is not integrated into the XFS script.


Copied only will not solve the problem.

randy
Posts: 321
Joined: Mar 13, 2012 7:00 pm

#13 Postby randy » Jul 08, 2012 2:53 pm

if you go to settings and then to files and scroll down to show ip in country does an error show up with red text saying GeoIp.dat not found or something? if yes then perhaps you did not upload it correct...


Return to “XFileSharing Pro”

Who is online

Users browsing this forum: No registered users and 0 guests