cancel
Showing results for 
Search instead for 
Did you mean: 

Forced URL problem

Former Member
0 Kudos

HI All,

We are using Forced URL to divert users from portal to ISA shops. Everything is working fine, all users able see shops Here problem I am facing is for some users they need to see language specific shops(we have some language specific chops).These users have special roles. Here I am confused how to divert those user to language specific shops.

Cheers

Keerthi

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Following code will help you to get the locale of the user

Locale locale = WDClientUser.getCurrentUser().getLocale();

If you have a different URL for the language specific shops based on the locale you can redirect them.

If any param in the url decides to switch to other lang shops create that based on the locale.

Regards

Ayyapparaj