Default language

Hi,

Can you set the default language of Portal on the server level?

I couldn’t find any property handling this case nor any info in documentation nor a question on this forum.

Hi,
language to be used in the Portal is user’s choice and it is stored in a browser cookie (named BOS_Locale) for next login.
If you want to set a default language for your users, you can add “locale=xx” to your URL as explained here .

Hello.

Since the design choice is to let this setting at the browser level (and not, for instance, in the user profile), then it would be a good behaviour to USE the browser’s language settings instead of a specific cookie. This should be available in the Accept-Language request header.

Hi,
The method described in the documentation page you have given assumes that user is opening specific task. I would like to give users an URL to Bonita Portal homepage with locale setting, but cannot figure out how to build url. Simply entering
http://localhost:8081/bonita/portal/homepage?locale=pl
doesn’t work. Is there a way to do it?

Hi,
you can give them this url:

http://localhost:8080/bonita/login.jsp?_l=pl

http://localhost:8080/bonita/login.jsp?_l=pl works for the login form… BUT NOT WHEN GOINGTO THE PORTAL…

http://localhost:8081/bonita/portal/homepage?locale=pl DOES NOT WORK.

ALL users or the organization, one by one, MUST choose their language setting, FOR EACH browser installation they will use (each computer, each browser ! And each time they will lose the cookie or reinstall a browser or change the computer, they will have to do it again.

IMO the choice of setting a cookie PLUS no way to change the default language is the WORST design choice one could do, besides no localisation at all of course.

do you know if there is any improvement for the default language ?

I agree it should:

  • use browser default settings + cookie if changed
    OR
  • use serveur default settings + cookie if changed.

our organisation is only french speaking, we could not tell each user to change settings by himself.

We have logged internally an improvement request to choose language based on:

  • URL parameter value
  • Bonita Cookie content
  • Tenant admin configuration
  • Brower’s locale
  • Default fall back to English