Jump to content

auto language


skmd

Recommended Posts

Hey,

 

You can add PHP code that pulls a range of known IPS assigned to a country and based on those IPs you can forward the request to the right lang. option in WHMCS.

 

You will first need to get a list of IPs that are associated with that Country/Language.

 

 

From,

Adam

Link to comment
Share on other sites

I already have one , it redirect the users based on their ip to a specific url.but i tried to find a direct link conatins the language option but i coudnt find al the urls looks like :

mydomain.com/whmcs/index.php?setlanguage=true

 

i think it based on cookies or something , any other help please???

Link to comment
Share on other sites

  • 3 weeks later...
I already have one , it redirect the users based on their ip to a specific url.but i tried to find a direct link conatins the language option but i coudnt find al the urls looks like :

mydomain.com/whmcs/index.php?setlanguage=true

 

i think it based on cookies or something , any other help please???

skmd would you be willing to share how you are doing this with the rest of us? I know I could do a google search but you might have a nicer method then I could find with a search term.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated