Hi there
I want to target base on browser language (ex. German) but are not sure how to create a correct Expression-Target for this?
Not sure if user.header or user.browser should be used and how the correct syntax should look like? Then there is also user.header('accept-language') and user.header('accept') which both seem to fit somehow?
I created these 3 Expression Targets but am not sure about which one is correct?
1.return user.header('accept-language')=="de";
2.return (user.header.indexOf('de') != -1);
3. return (user.browser.indexOf('de') != -1);
thanks for your help.
Nicolas