<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">


<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<style>
<!--
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
p
        {mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman";}
p.sub, li.sub, div.sub
        {mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman";}
span.EmailStyle19
        {mso-style-type:personal-compose;
        font-family:Arial;
        color:windowtext;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=sub><font size=2 color=black face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:black'><o:p> </o:p></span></font></p>

<p class=sub><font size=2 face=Arial><span lang=EN-GB style='font-size:10.0pt;
font-family:Arial'>Hi,<o:p></o:p></span></font></p>

<p class=sub><font size=2 face=Arial><span lang=EN-GB style='font-size:10.0pt;
font-family:Arial'>I am currently implementing a module for version 6 and
cannot figure out how to get the locale from the workplace. It seems that
cms.getRequestContext().getLocale() returns English locale all the time. <o:p></o:p></span></font></p>

<p class=sub><font size=2 face=Arial><span lang=EN-GB style='font-size:10.0pt;
font-family:Arial'>Would someone be able to advice me, what is the correct way
to get the workplace locale?<o:p></o:p></span></font></p>

<p class=sub><font size=2 face=Arial><span lang=EN-GB style='font-size:10.0pt;
font-family:Arial'>Thanks,<o:p></o:p></span></font></p>

<p class=sub><font size=2 face=Arial><span lang=EN-GB style='font-size:10.0pt;
font-family:Arial'>Olli<o:p></o:p></span></font></p>

</div>

</body>

</html>
<BR>

<P><FONT SIZE=2>--<BR>
No virus found in this outgoing message.<BR>
Checked by AVG Free Edition.<BR>
Version: 7.1.375 / Virus Database: 267.15.2/252 - Release Date: 06/02/2006<BR>
</FONT> </P>