Jump to content

User default Language


solver80

Recommended Posts

In admin panel I can change language for each customer: Customer > Profile > Language

 

This language change language of emails sent to customer and also display language for logged in customers.

 

 

The problem is that each time customer change language on the page that also overwrite that language setting in admin control panel.

 

 

I have written hook that detect browser language and based on that displays page in same language. If customer open website not on own computer than that will change language of his emails from preferred one to English.

 

Is there any way to disable this automatic language change and make this as an option in settings, same as in any other system?

Link to comment
Share on other sites

Hmm I've never heard of this happening.

 

To clarify customer's changing their language effects the language you have set on the admin side? If so this isn't normal functionality and must be a bug or server issue causing this.

I've seen this occurring with v6 too - I don't think it's a server issue, so whether it's a bug or a new design feature, you can toss a coin to decide. :)

 

my guess is that it's normal functionality for v6 - you can reproduce it on the WHMCS demo... login using the demo account details, change your language via the language tab (or using language= in the URL), and the client's profile in the admin area is updated to use that new language - same would occur using Six or Five templates... but it doesn't when using WHMCS v5, so can only assume it was intentionally added as a feature in v6.

 

it might be worth opening a ticket (and reporting back to the thread) or posting in Bug Reports to see whether this was done by design or is a bug.

 

if it's intentional, then it might be difficult to get around it... I suppose you could hide the language tab if the client is logged in, that would prevent the change occurring (unless the client knew the language= method in the URL).

Edited by brian!
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.

×
×
  • 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