where is saved BOS_locale cookies variable ( which file ) ?

To use two different languages ​​simultaneously ** ** on a web application developed with UI designer ( user1 : french , user2 : English) , we add translations in the localization file, however , languages ​​are changed by the portal, in addition , the displayed language is the same for all users ( either French or English ) .
I have found in the doc that there’s a BOS_locale cookies variable that maintains the language selected in the portal and it is possible to remove this variable so that the language displayed to the user is that of the default browser .
my questions:

  1. -where is saved this variable ( which file ) ?

It’s a cookie, there is no “file” and it is not possible to remove it, it will be recreated every time you log in.

You can set this variable though in JavaScript to the value of the browser which will work.

Regards
Sean

Ps: if this answers your question please mark as resolved.

You can also add a filter :

private static final String BOS_LOCALE = "BOS_Locale"; private static final String FRENCH_LOCALE = "fr_FR"; @Override public void doFilter(ServletRequest request, ServletResponse response, FilterChain filterChain) throws IOException, ServletException { HttpServletResponse httpResponse=(HttpServletResponse)response; filterChain.doFilter(request, response); Cookie myCookie=new Cookie(BOS_LOCALE,FRENCH_LOCALE); httpResponse.addCookie(myCookie); }