cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to install language Pack

ltrillaud
Champ in-the-making
Champ in-the-making
Hi

I'am trying to install the French language Pack on an Alfresco 2.9.0B under an JBoss 4.2.2.
I got the wiki page "Language Pack Installation" but no directories match
I haven't <JBoss home>/server/default/conf/alfresco
neither web-client-config-custom.xml file anywhere

To install Alfresco, I have just copy the alfresco.war under <JBoss home>/server/default/deploy.
When JBoss start it expand the war under <JBOSS_HOME>/server/default/tmp/deploy/tmp*alfresco.war/
Under this directory I can found messages/ and web-client-config.xml but I can't edit it because each time I restart JBoss the number of the tmp directory changed.

Any Idea?

Laurent Trillaud
1 REPLY 1

ltrillaud
Champ in-the-making
Champ in-the-making
OK. I solved this problem by myself.
I give the solution for all other newbies.

The installation wiki page say to put alfresco.war inside the JBoss deploy directory.
In fact it's a bad idea, because the war is extrated only when JBoss is running.
The better way is to deploy by hand. Remove the alfresco.war file. Still under the deploy JBoss directory, create a new directory "alfresco.war" (keep the war extension) and unzip the alfresco.war inside.

Now you have access to all the files.
Download your language package. Unzip all files inside <deploy_dir>/WEB_INF/classes/messages and edit       <deploy_dir>/WEB_INF/classes/web-client-config.xml to add the new language. For exemple French will be :

   <config evaluator="string-compare" condition="Languages">
      <!– the list of available language files –>
      <languages>
         <language locale="en_US">English</language>
         <language locale="fr_FR">Français</language>
      </languages>
    </config>

And restart your JBoss.
That's all folks

<laurent/>