Hello, how is the rule which language has the system session ? Can we set the langauge of system session for the whole application ?



asked 07.10.2016 at 13:50

tauser's gravatar image

accept rate: 33%

edited 07.10.2016 at 14:12

The locale of an ivy session is determined as follows. The first defined locale wins - top down. E.g. if browser language is set, the client OS is ignored:

  1. request
  2. override
  3. ivy (designer simulation settings)
  4. browser
  5. client OS

For the system session you should be able to refine the locale by using the API that will influence the 'override' locale:

ISession system = ivy.session.getSecurityContext().getSystemUserSession();

Be aware that you need some maintenance code set these Locales after an engine reboot.

Anyway, what is your use case to refine the system users language? Are you trying to influence the language within Task-Mails? If so, consider to use Axon.ivy 6.4 which will be available around the end of October. We've introduced API to load CMS contents in E-Mail steps with a given language: <%=ivy.cms.coLocale("myContent/uri", "de_DE") %>


answered 10.10.2016 at 12:21

Reguel%20Wermelinger's gravatar image

Reguel Werme... ♦♦
accept rate: 70%

edited 10.10.2016 at 12:24

task names are stored fix in system database with language of session by task creation. (the trigerred task with system session). We would like to control the language used for the task names (from CMS)

(10.10.2016 at 14:51) tauser tauser's gravatar image
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: 07.10.2016 at 13:50

Seen: 1,531 times

Last updated: 10.10.2016 at 14:58