<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Internationalization issue with webscritps in portlet in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/internationalization-issue-with-webscritps-in-portlet/m-p/133027#M93438</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;i need to provide some info via webscripts (contained in a portlet), and some parts needs to be language-aware.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried to read this via I18NUtil.getLocale() inside a java-backed WebScript (subclassing DeclarativeWebScript), but i get the wrong info: looks like i'm getting the server locale, and not the browser locale (browser is configured with a stranger language to be sure not to be testing the wrong thing). Test is done without a logged user, and without transaction.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Wich is the right way to obtain the locale code sent by the browser (or to simulate it) ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 17 Oct 2007 11:35:49 GMT</pubDate>
    <dc:creator>strinchero</dc:creator>
    <dc:date>2007-10-17T11:35:49Z</dc:date>
    <item>
      <title>Internationalization issue with webscritps in portlet</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/internationalization-issue-with-webscritps-in-portlet/m-p/133027#M93438</link>
      <description>Hi all,i need to provide some info via webscripts (contained in a portlet), and some parts needs to be language-aware.I tried to read this via I18NUtil.getLocale() inside a java-backed WebScript (subclassing DeclarativeWebScript), but i get the wrong info: looks like i'm getting the server locale, a</description>
      <pubDate>Wed, 17 Oct 2007 11:35:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/internationalization-issue-with-webscritps-in-portlet/m-p/133027#M93438</guid>
      <dc:creator>strinchero</dc:creator>
      <dc:date>2007-10-17T11:35:49Z</dc:date>
    </item>
    <item>
      <title>Re: Internationalization issue with webscritps in portlet</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/internationalization-issue-with-webscritps-in-portlet/m-p/133028#M93439</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This is a bug in the webscript framework -it should automatically set the current locale for the request based on the browser locale code if present. We are looking into this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kevin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Oct 2007 11:17:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/internationalization-issue-with-webscritps-in-portlet/m-p/133028#M93439</guid>
      <dc:creator>kevinr</dc:creator>
      <dc:date>2007-10-23T11:17:34Z</dc:date>
    </item>
  </channel>
</rss>

