Default language

1
0
-1

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.

2 answers

1
0
-1
This one is the BEST answer!

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 .

Comments

Submitted by mmichalak on Fri, 01/16/2015 - 14:45

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?

Submitted by haris.subasic on Fri, 01/16/2015 - 15:11

Hi, you can give them this url:

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

1
0
-1

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.

Comments

Submitted by michel.rv on Wed, 08/12/2015 - 12:42

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.

Submitted by richard.vigniel... on Tue, 08/08/2017 - 16:39

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.

Submitted by antoine.mottier on Wed, 08/09/2017 - 11:15

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
Notifications