Solution again, hack in CmsLocaleManager:<div><br><div> Locale oldLocale = Locale.getDefault();</div><div><div> Locale loc = new Locale("pt","BR");</div><div> // default language is not English</div>
<div> try {</div><div> Locale.setDefault(loc);</div><div> if (CmsLog.INIT.isInfoEnabled()) {</div><div> <a href="http://CmsLog.INIT.info">CmsLog.INIT.info</a>(Messages.get().getBundle().key(</div>
<div> Messages.INIT_I18N_DEFAULT_LOCALE_2,</div><div> loc,</div><div> loc));</div><div> }</div><div> } catch (Exception e) {</div>
<div> // any Exception: the locale has not been changed, so there may be issues with the English</div><div> // localization but OpenCms will run in general</div><div> CmsLog.INIT.error(</div>
<div> Messages.get().getBundle().key(</div><div> Messages.LOG_UNABLE_TO_SET_DEFAULT_LOCALE_2,</div><div> loc,</div><div> loc),</div><div>
e);</div><div> }</div><div><br></div><div> // initialize the static member with the new default </div><div> m_defaultLocale = Locale.getDefault();</div><div> }</div><br><div class="gmail_quote">
2012/5/17 Deiverson Silveira <span dir="ltr"><<a href="mailto:deiverson@solutioncms.com" target="_blank">deiverson@solutioncms.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Some problem, again, in 8.0.3:<div><a href="http://lists.opencms.org/pipermail/opencms-dev/2009q4/033178.html" target="_blank">http://lists.opencms.org/pipermail/opencms-dev/2009q4/033178.html</a> </div><div><br></div><div>
omg... =/... I have hack in CmsLocaleManage.java?<div><div class="h5"><br>
<br><div class="gmail_quote">2012/5/17 Deiverson Silveira <span dir="ltr"><<a href="mailto:deiverson@solutioncms.com" target="_blank">deiverson@solutioncms.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<div><br></div><div>I Have big problem, the portal in OpenCms 8.0.3 change locale JVM for "en", I don't understand if class core, but my server app with 30 application have problem because getlocale JVM.</div>
<div><br></div><div>How can set in OpenCms dont change locale JVM ?</div><div><br></div><div>Regards,</div><div><br></div><div>Deiverson<span><font color="#888888"><br clear="all"><div><br></div>-- <br><i><div>
<span style="font-style:normal"><i><div>
<span style="font-style:normal"><i><div style="display:inline!important"><span style="font-style:normal"><i><a href="http://www.solutioncms.com" target="_blank">www.solutioncms.com</a></i></span></div></i></span></div><div>
<span style="font-style:normal"><i><span style="font-style:normal"><i><div><span style="font-style:normal"><i><div style="display:inline!important"><span style="font-style:normal"><i><span style="font-style:normal"><i><div style="display:inline!important">
<i>The Brazilian </i><span style="font-style:normal"><i><div style="display:inline!important"><span style="font-style:normal"><i><span style="font-style:normal"><i><div style="display:inline!important"><i>Official Provider OpenCms</i></div>
</i></span></i></span></div></i></span></div></i></span></i></span></div></i></span></div></i></span></i></span></div></i></span></div><br>
</i></font></span></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><i><div><span style="font-style:normal"><i><div><span style="font-style:normal"><i><div style="display:inline!important"><span style="font-style:normal"><i><a href="http://www.solutioncms.com" target="_blank">www.solutioncms.com</a></i></span></div>
</i></span></div><div><span style="font-style:normal"><i><span style="font-style:normal"><i><div><span style="font-style:normal"><i><div style="display:inline!important"><span style="font-style:normal"><i><span style="font-style:normal"><i><div style="display:inline!important">
<i>The Brazilian </i><span style="font-style:normal"><i><div style="display:inline!important"><span style="font-style:normal"><i><span style="font-style:normal"><i><div style="display:inline!important"><i>Official Provider OpenCms</i></div>
</i></span></i></span></div></i></span></div></i></span></i></span></div></i></span></div></i></span></i></span></div></i></span></div><br>
</i></div></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><i><div><span style="font-style:normal"><i><div><span style="font-style:normal"><i><div style="display:inline!important"><span style="font-style:normal"><i><a href="http://www.solutioncms.com" target="_blank">www.solutioncms.com</a></i></span></div>
</i></span></div><div><span style="font-style:normal"><i><span style="font-style:normal"><i><div><span style="font-style:normal"><i><div style="display:inline!important"><span style="font-style:normal"><i><span style="font-style:normal"><i><div style="display:inline!important">
<i>The Brazilian </i><span style="font-style:normal"><i><div style="display:inline!important"><span style="font-style:normal"><i><span style="font-style:normal"><i><div style="display:inline!important"><i>Official Provider OpenCms</i></div>
</i></span></i></span></div></i></span></div></i></span></i></span></div></i></span></div></i></span></i></span></div></i></span></div><br>
</i></div></div>