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.2017 at 07:49

dolong's gravatar image

dolong
(suspended)
accept rate: 100%

edited 19.01.2017 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.2017 at 15:27

Reguel%20Wermelinger's gravatar image

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

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:

×147
×26

Asked: 19.01.2017 at 07:49

Seen: 2,127 times

Last updated: 20.01.2017 at 15:27