<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Answers to: Language of system session</title><link>https://answers.axonivy.com/questions/2082/language-of-system-session</link><description>&lt;p&gt;Hello,
   how is the rule which language has the system session ? Can we set the langauge of system session for the whole application ?&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;Karel&lt;/p&gt;</description><atom:link href="https://answers.axonivy.com/questions/2082/language-of-system-session" rel="self"></atom:link><language>en</language><lastBuildDate>Mon, 10 Oct 2016 12:21:39 -0400</lastBuildDate><item><title>Answer by Reguel Wermelinger</title><link>https://answers.axonivy.com/questions/2082/language-of-system-session/2086</link><description>&lt;p&gt;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:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;request&lt;/li&gt;
&lt;li&gt;override&lt;/li&gt;
&lt;li&gt;ivy (designer simulation settings)&lt;/li&gt;
&lt;li&gt;browser&lt;/li&gt;
&lt;li&gt;client OS&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;For the system session you should be able to refine the locale by using the API that will influence the 'override' locale:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;ISession system = ivy.session.getSecurityContext().getSystemUserSession();
system.setFormattingLocale(java.util.Locale.ITALIAN);
system.setContentLocale(java.util.Locale.ITALIAN);
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Be aware that you need some maintenance code set these Locales after an engine reboot.&lt;/p&gt;
&lt;p&gt;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: &lt;code&gt;&amp;lt;%=ivy.cms.coLocale("myContent/uri", "de_DE") %&amp;gt;&lt;/code&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Reguel Wermelinger</dc:creator><pubDate>Mon, 10 Oct 2016 12:21:39 -0400</pubDate><guid>https://answers.axonivy.com/questions/2082/language-of-system-session/2086</guid></item></channel></rss>