Jump to content

Load a spesific language automatically in client profile


No41

Recommended Posts

Hi,

 

If a user select a specific language in my website e.g. language2, then I want language2 to be automatically loaded when the user access the client-area...

 

Should it have been language1, then language1 must automatically load for the user, without him having first to go & select the desired language in the language -bar.

 

Any advice?

 

Thanks

Link to comment
Share on other sites

Maybe, let me state it differently...

 

If a user select Afrikaans (desired language) at my home-site (not the client area), then I want the client area to be automatically loaded in Afrikaans, when accessed by the user.

 

I do not want the user to first search for the language bar & then select Afrikaans.

Link to comment
Share on other sites

  • 2 weeks later...

the easy way is pass the language over the url.....most probably you have a link to whmcs in your ...lets say Afrikaans site, so just add the Afrikaans language variable to the link so when they click on it they be redirected to whmcs with Afrikaans language

 

http://yourdomain.com/whmcs/index.php?setlanguage=true&language=Afrikaans

 

good luck!

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