Axon.ivy 7.0 - the Digital Business Platform - is out now...

Hi Ivy team,

AFAIK, if a CMS entry hasn't defined the user's current language, its default language will be used as an alternative one. Default language can be set by ivy.cms.setDefaultLanguage(Locale) but the above CMS entry still uses the old one. Is it the correct behavior?

Thanks,

Long Do

asked 19.01 at 07:49

dolong's gravatar image

dolong
11337
accept rate: 0%

edited 19.01 at 07:51


The content language for a user is hierarchically defined and in the following order:

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

Most of the times the locale is defined via browser locale. But a locale on the request would override this behavior.

To change the language to render for a certain user you can use the API on ISession:

link

answered 20.01 at 15:27

Reguel%20Wermelinger's gravatar image

Reguel Werme... ♦♦
5.5k11032
accept rate: 67%

Your answer
toggle preview

Follow this question

By Email:

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

By RSS:

Answers

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

Tags:

×68
×22

Asked: 19.01 at 07:49

Seen: 314 times

Last updated: 20.01 at 15:27