<?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 After installing Lang pack, which lang setting gets english? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/after-installing-lang-pack-which-lang-setting-gets-english/m-p/214695#M167825</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Background:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have installed a translation pack for Share. Properties are in xx_XX format.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Problem:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I can't get default English translation anymore. I've tried 'en', 'en_EN' and 'en_US' settings and none works. If I replicate all default files to en_US format, then 'en_US' setting works and I can swap between English and custom Lang versions.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Question:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Which Lang setting (in browser) is needed to use default English translation after installing additional Lang packs? Or is dummy Lang pack which just replicates default files (*.properties =&amp;gt; *en_US.properties) the only way to get this working?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;EDIT:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Setting default locale to English for Share works too.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Locale.setDefault(Locale.ENGLISH);&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 Dec 2009 14:52:23 GMT</pubDate>
    <dc:creator>teemus</dc:creator>
    <dc:date>2009-12-09T14:52:23Z</dc:date>
    <item>
      <title>After installing Lang pack, which lang setting gets english?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/after-installing-lang-pack-which-lang-setting-gets-english/m-p/214695#M167825</link>
      <description>Background:I have installed a translation pack for Share. Properties are in xx_XX format.Problem:I can't get default English translation anymore. I've tried 'en', 'en_EN' and 'en_US' settings and none works. If I replicate all default files to en_US format, then 'en_US' setting works and I can swap</description>
      <pubDate>Wed, 09 Dec 2009 14:52:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/after-installing-lang-pack-which-lang-setting-gets-english/m-p/214695#M167825</guid>
      <dc:creator>teemus</dc:creator>
      <dc:date>2009-12-09T14:52:23Z</dc:date>
    </item>
    <item>
      <title>Re: After installing Lang pack, which lang setting gets english?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/after-installing-lang-pack-which-lang-setting-gets-english/m-p/214696#M167826</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If I select English as the preferred language in my browser I get the strings from the default files (the ones without any language and location codes). This works in Firefox at least, no matter if I select en or en-us as preferred language.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have only one language pack installed, besides the default files and that language pack is non-english.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Dec 2009 16:44:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/after-installing-lang-pack-which-lang-setting-gets-english/m-p/214696#M167826</guid>
      <dc:creator>gronfelt</dc:creator>
      <dc:date>2009-12-09T16:44:35Z</dc:date>
    </item>
    <item>
      <title>Re: After installing Lang pack, which lang setting gets english?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/after-installing-lang-pack-which-lang-setting-gets-english/m-p/214697#M167827</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Is it a typo en-us?&amp;nbsp;&amp;nbsp;&amp;nbsp; Should it not be an underscore character in a locale?.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Dec 2009 17:47:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/after-installing-lang-pack-which-lang-setting-gets-english/m-p/214697#M167827</guid>
      <dc:creator>mrogers</dc:creator>
      <dc:date>2009-12-09T17:47:07Z</dc:date>
    </item>
    <item>
      <title>Re: After installing Lang pack, which lang setting gets english?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/after-installing-lang-pack-which-lang-setting-gets-english/m-p/214698#M167828</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Firefox calls it [en-us].&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Dec 2009 18:22:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/after-installing-lang-pack-which-lang-setting-gets-english/m-p/214698#M167828</guid>
      <dc:creator>gronfelt</dc:creator>
      <dc:date>2009-12-09T18:22:56Z</dc:date>
    </item>
    <item>
      <title>Re: After installing Lang pack, which lang setting gets english?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/after-installing-lang-pack-which-lang-setting-gets-english/m-p/214699#M167829</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Is it a typo en-us?&amp;nbsp;&amp;nbsp;&amp;nbsp; Should it not be an underscore character in a locale?.&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt;Firefox sends locales with hyphen but DispatcherServlet replaces '-' char with '_', so that's not a problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;If I select English as the preferred language in my browser I get the strings from the default files (the ones without any language and location codes). This works in Firefox at least, no matter if I select en or en-us as preferred language.&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt;That's because Share can't find translation you requested and defaults to default files (English in this case). I'm guessing your JVM's default locale is 'en_US'. Try to change it to say, se_SE.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But if your JVM's locale isn't en_US (or any en_XX?) you can't get English anymore. On Web Client (legacy(?) browser) v1 they had issue with same kind of problem. They solved it with build script that replicates all properties to en_US (don't remember for sure, but some English locale) files as well.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Dec 2009 10:10:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/after-installing-lang-pack-which-lang-setting-gets-english/m-p/214699#M167829</guid>
      <dc:creator>teemus</dc:creator>
      <dc:date>2009-12-10T10:10:58Z</dc:date>
    </item>
  </channel>
</rss>

