How to activate different languages when using only war?

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2007 06:46 AM
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
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
Labels:
- Labels:
-
Archive
1 REPLY 1

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-14-2007 07:03 AM
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
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
