Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Customer Default Language Rate Topic   - - - - -

 
  • fishtail
  • Member
  • Members
  • Join Date: 11-Jan 10
  • 123 posts

Posted 12 January 2014 - 09:35 PM #1

I have 2 languages in the storefront (English and French), and when I set the "language" to French (for example) for one of my customers, it doesn't set the language to french on the website when they log in. They have manually change it every time.

If that's that's not what it's used for, how do I accomplish this?

 
  • tbirnseth
  • CS Cart Expert
  • Authorized Reseller
  • Join Date: 08-Nov 08
  • 11291 posts

Posted 12 January 2014 - 10:24 PM #2

There is a precedence for setting language. I believe it is:
  • value set by the user in the session
  • Preference from user's profile
  • Browser language
  • localization based on IP address
Once determined, the value is kept in the user's session. So they would need to logout and login again for it to be active. Possibly start a new browser sesion by closing the browser and reopening.

EZ Merchant Solutions: Custom (USA based) B2B Development, Consulting, Development and Special Projects (get a quote here).
Commercial addons, payment methods and modifications to meet your business and operations needs.


 
  • fishtail
  • Member
  • Members
  • Join Date: 11-Jan 10
  • 123 posts

Posted 13 January 2014 - 03:59 AM #3

There is a precedence for setting language. I believe it is:

  • value set by the user in the session
  • Preference from user's profile
  • Browser language
  • localization based on IP address
Once determined, the value is kept in the user's session. So they would need to logout and login again for it to be active. Possibly start a new browser sesion by closing the browser and reopening.


Thanks, tbirnseth. It's too bad the user profile preference isn't first. My website only has "pre-approved customers", so it would impress my customers more if they login and already have their primary language active.

 
  • tbirnseth
  • CS Cart Expert
  • Authorized Reseller
  • Join Date: 08-Nov 08
  • 11291 posts

Posted 13 January 2014 - 09:06 PM #4

If it's a new session then they will get it. Otherwise they will get whatever they last used in their existing session.

EZ Merchant Solutions: Custom (USA based) B2B Development, Consulting, Development and Special Projects (get a quote here).
Commercial addons, payment methods and modifications to meet your business and operations needs.


 
  • minute
  • Junior Member
  • Members
  • Join Date: 21-Feb 11
  • 135 posts

Posted 14 January 2014 - 11:29 AM #5

This is a strange behavior CS-cart has, I have a same but different problem, if I manually set the language to Romanian in front end, if the browser is in English, the store changes to en. I did a "trick" but is not good: I clone en and change the language code to eg not en. Works now but I don't know how it affects SEO!