cancel
Showing results for 
Search instead for 
Did you mean: 

How to activate different languages when using only war?

peter_neu
Champ in-the-making
Champ in-the-making
Hello,

how do I activate mulit language support when I deploy only
the war archive on my tomcat server? I run it on a linux box.

By default I only get english.

cheer,
Pete
1 REPLY 1

steve
Champ in-the-making
Champ in-the-making
Hi,

In the WAR package there should be a directory called 'extensions'.
Copy the contents (the sub-dirs) from this to 'tomcat/shared/classes/alfresco' - note, you may have to create some of this directory path.

In the extensions package is a file called 'web-client-config-custom.xml' that enables a bunch of languages (the langauge files will now be in 'tomcat/shared/classes/alfresco/messages').

Note, the files:
custom-db-connection.properties
custom-hibernate-dialect.properties
might have to be renamed because they contain settings to make Alfresco use HSQL - since you are already running this will interfere with your current setup. (Or you could modify the files to match your current setup - that way you can redeploy new WARs and keep the same configuration).

Hope this helps,

Steve