<?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 Re: Disable language detection (system wide) in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/disable-language-detection-system-wide/m-p/56520#M34190</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It is not possible to disable the language detect at present, feel free to raise a &lt;/SPAN&gt;&lt;A href="http://issues.alfresco.com" rel="nofollow noopener noreferrer"&gt;JIRA&lt;/A&gt;&lt;SPAN&gt; item for it. I believe if only the English lang packs are present on the system, and the server locale is english and the config files are set to only allow english then the system should only present english text.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your comments,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kevin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 15 Mar 2007 16:02:16 GMT</pubDate>
    <dc:creator>kevinr</dc:creator>
    <dc:date>2007-03-15T16:02:16Z</dc:date>
    <item>
      <title>Disable language detection (system wide)</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/disable-language-detection-system-wide/m-p/56519#M34189</link>
      <description>Hello,I already know how to limit the WebClient interface to one default language. (It's easy, just edit the webclient config file..)But now I stumbeld over a bug (AWC-1157) and I am wondering if it is possible to disable the language detection system wide. I mean edit, somewhere deepdown in the sys</description>
      <pubDate>Wed, 14 Mar 2007 10:27:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/disable-language-detection-system-wide/m-p/56519#M34189</guid>
      <dc:creator>christianru</dc:creator>
      <dc:date>2007-03-14T10:27:17Z</dc:date>
    </item>
    <item>
      <title>Re: Disable language detection (system wide)</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/disable-language-detection-system-wide/m-p/56520#M34190</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It is not possible to disable the language detect at present, feel free to raise a &lt;/SPAN&gt;&lt;A href="http://issues.alfresco.com" rel="nofollow noopener noreferrer"&gt;JIRA&lt;/A&gt;&lt;SPAN&gt; item for it. I believe if only the English lang packs are present on the system, and the server locale is english and the config files are set to only allow english then the system should only present english text.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your comments,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kevin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Mar 2007 16:02:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/disable-language-detection-system-wide/m-p/56520#M34190</guid>
      <dc:creator>kevinr</dc:creator>
      <dc:date>2007-03-15T16:02:16Z</dc:date>
    </item>
    <item>
      <title>Re: Disable language detection (system wide)</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/disable-language-detection-system-wide/m-p/56521#M34191</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Actually you can do this, only have to modify two or three files:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;login.jsp&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;user-console.jsp&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;web-client-config-custom.xml&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;login.jsp:&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;First of all remove from the line 117 to the line 127, then add at line 39 this code:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;java.util.Locale.setDefault(new java.util.Locale("es", "ES"));&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;EM&gt;If you want english replace "es" by "en" and "ES" by "US".&lt;/EM&gt;&lt;BR /&gt;&lt;SPAN&gt;This modifications remove the selection language from the login page and set the language to the one selected at 39 line.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;user-console.jsp:&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Remove from the line 161 to the line 169.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This modifications remove the selection language from user properties page.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;web-client-config-custom.xml:&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I modify this page because use the spanish language, but i think tath isn't necesary to do that&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Add your language at the top of evaluator="string-compare" tag, and add the property replace="true" to this one.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It would be look like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&amp;nbsp;&amp;nbsp; &amp;lt;config evaluator="string-compare" condition="Languages" replace="true"&amp;gt; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;languages&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;language locale="es_ES"&amp;gt;Español&amp;lt;/language&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;language locale="pt_BR"&amp;gt;Portuguese (Brazilian)&amp;lt;/language&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;language locale="en_US"&amp;gt;English&amp;lt;/language&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/languages&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;/config&amp;gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;I hope this help you.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best Regards.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;MatÃ­as.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jul 2007 17:46:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/disable-language-detection-system-wide/m-p/56521#M34191</guid>
      <dc:creator>mliwski</dc:creator>
      <dc:date>2007-07-03T17:46:59Z</dc:date>
    </item>
  </channel>
</rss>

