cancel
Showing results for 
Search instead for 
Did you mean: 

How to install language-pack in war-Alfresco

homer86
Champ in-the-making
Champ in-the-making
Hi,

I'm running Alfresco 3.3 not bundled, but the war-file in an existing tomcat on openSUSE 11.2.

In the README of the language-pack there are following directories needed:

tomcat/shared/classes/alfresco/web-extension/site-webscripts
tomcat/shared/classes/alfresco/messages

Where do I have to put the files in a not bundled alfresco?

Greets
3 REPLIES 3

zaizi
Champ in-the-making
Champ in-the-making
In
tomcat/shared/classes/alfresco/web-extension/site-webscripts
tomcat/shared/classes/alfresco/messages

Smiley Happy

Make the directories as above and put the files in there. Then edit tomcat/conf/catalina.properties and add the following paths to the shared.loader.
shared.loader=${catalina.base}/shared/classes,${catalina.base}/shared/lib/*.jar

Keeps the customisations outside of the bundle.

Ainga

homer86
Champ in-the-making
Champ in-the-making
Thanks for the help, but it is not working, Alfresco is still english Smiley Sad

I've created a folder /usr/share/tomcat/shared and copied the files, so I have:

/usr/share/tomcat6/shared/
`– classes
    `– alfresco
        |– messages
        |   |– common_de_DE.properties
        |   `– slingshot_de_DE.properties
        `– web-extension
            `– site-webscripts
                `– org
                    `– alfresco
                        |– components
                        |   |– blog
                        |   |   |– archives.get_de_DE.properties
                        |   |   |– comments.get_de_DE.properties
                        |   |   |– createcomment.get_de_DE.properties
                        |   |   |– filters.get_de_DE.properties
                        |   |   |– postedit.get_de_DE.properties
                        |   |   |– postlist.get_de_DE.properties
                        |   |   |– postview.get_de_DE.properties
                        |   |   `– toolbar.get_de_DE.properties
                        |   |– calendar
                        |   |   |– calendar.get_de_DE.properties
                        |   |   |– info.get_de_DE.properties
                        |   |   |– toolbar.get_de_DE.properties
                        |   |   `– view.get_de_DE.properties
                        |   |– console
                        |   |   |– admin-console-title.get_de_DE.properties
                        |   |   |– application.get_de_DE.properties
                        |   |   |– console-tools.get_de_DE.properties
                        |   |   |– groups.get_de_DE.properties
                        |   |   `– users.get_de_DE.properties
                        |   |– create-content
                        |   |   `– create-content-mgr.get_de_DE.properties
                        |   |– dashboard
                        |   |   |– customise-dashlets.get_de_DE.properties
                        |   |   `– customise-layout.get_de_DE.properties
                        |   |– dashlets
                        |   |   |– activity-list.get_de_DE.properties
                        |   |   |– alfresco-network.get_de_DE.properties
                        |   |   |– calendar.get_de_DE.properties
                        |   |   |– cmisfeed.get_de_DE.properties
                        |   |   |– colleagues.get_de_DE.properties
                        |   |   |– docsummary.get_de_DE.properties
                        |   |   |– imagesummary.get_de_DE.properties
                        |   |   |– my-activities.get_de_DE.properties
                        |   |   |– my-docs-editing.get_de_DE.properties
                        |   |   |– my-documents.get_de_DE.properties
                        |   |   |– my-profile.get_de_DE.properties
                        |   |   |– my-sites.get_de_DE.properties
                        |   |   |– my-tasks-list.get_de_DE.properties
                        |   |   |– my-tasks.get_de_DE.properties
                        |   |   |– my-workspaces.get_de_DE.properties
                        |   |   |– rssfeed.get_de_DE.properties
                        |   |   |– site-activities.get_de_DE.properties
                        |   |   |– site-links.get_de_DE.properties
                        |   |   |– site-profile.get_de_DE.properties
                        |   |   |– site-welcome.get_de_DE.properties
                        |   |   |– user-calendar.get_de_DE.properties
                        |   |   |– user-welcome.get_de_DE.properties
                        |   |   |– webview-default.get_de_DE.properties
                        |   |   |– webview.get_de_DE.properties
                        |   |   `– wiki.get_de_DE.properties
                        |   |– data-lists
                        |   |   |– data-lists.get_de_DE.properties
                        |   |   |– datagrid.get_de_DE.properties
                        |   |   |– datalists.get_de_DE.properties
                        |   |   |– filter.get_de_DE.properties
                        |   |   |– list.get_de_DE.properties
                        |   |   `– toolbar.get_de_DE.properties
                        |   |– discussions
                        |   |   |– createtopic.get_de_DE.properties
                        |   |   |– filters.get_de_DE.properties
                        |   |   |– replies.get_de_DE.properties
                        |   |   |– toolbar.get_de_DE.properties
                        |   |   |– topic.get_de_DE.properties
                        |   |   `– topiclist.get_de_DE.properties
                        |   |– document-details
                        |   |   |– document-actions.get_de_DE.properties
                        |   |   |– document-info.get_de_DE.properties
                        |   |   |– document-links.get_de_DE.properties
                        |   |   |– document-metadata-header.get_de_DE.properties
                        |   |   |– document-versions.get_de_DE.properties
                        |   |   |– path.get_de_DE.properties
                        |   |   |– repo-document-actions.get_de_DE.properties
                        |   |   |– repo-document-info.get_de_DE.properties
                        |   |   `– repo-path.get_de_DE.properties
                        |   |– documentlibrary
                        |   |   |– categories.get_de_DE.properties
                        |   |   |– documentlist.get_de_DE.properties
                        |   |   |– feed.get_de_DE.properties
                        |   |   |– filter.get_de_DE.properties
                        |   |   |– repo-documentlist.get_de_DE.properties
                        |   |   |– repo-filter.get_de_DE.properties
                        |   |   |– repo-toolbar.get_de_DE.properties
                        |   |   |– repo-tree.get_de_DE.properties
                        |   |   |– toolbar.get_de_DE.properties
                        |   |   `– tree.get_de_DE.properties
                        |   |– edit-metadata
                        |   |   `– edit-metadata-mgr.get_de_DE.properties
                        |   |– folder-details
                        |   |   |– folder-actions.get_de_DE.properties
                        |   |   |– folder-info.get_de_DE.properties
                        |   |   |– folder-links.get_de_DE.properties
                        |   |   |– folder-metadata-header.get_de_DE.properties
                        |   |   |– path.get_de_DE.properties
                        |   |   |– repo-folder-actions.get_de_DE.properties
                        |   |   |– repo-folder-info.get_de_DE.properties
                        |   |   `– repo-path.get_de_DE.properties
                        |   |– footer
                        |   |   `– footer.get_de_DE.properties
                        |   |– form
                        |   |   |– control-wrapper.get_de_DE.properties
                        |   |   `– form.get_de_DE.properties
                        |   |– header
                        |   |   `– header.get_de_DE.properties
                        |   |– inline-edit
                        |   |   `– inline-edit-mgr.get_de_DE.properties
                        |   |– invite
                        |   |   |– accept-invite.get_de_DE.properties
                        |   |   |– addemail.get_de_DE.properties
                        |   |   |– groupslist.get_de_DE.properties
                        |   |   |– invitationlist.get_de_DE.properties
                        |   |   |– members-bar.get_de_DE.properties
                        |   |   |– reject-invite.get_de_DE.properties
                        |   |   `– sent-invites.get_de_DE.properties
                        |   |– links
                        |   |   |– filters.get_de_DE.properties
                        |   |   |– linkedit.get_de_DE.properties
                        |   |   |– links.get_de_DE.properties
                        |   |   `– linksview.get_de_DE.properties
                        |   |– manage-permissions
                        |   |   `– manage-permissions.get_de_DE.properties
                        |   |– navigation
                        |   |   `– collaboration-navigation.get_de_DE.properties
                        |   |– people-finder
                        |   |   |– authority-finder.get_de_DE.properties
                        |   |   |– group-finder.get_de_DE.properties
                        |   |   `– people-finder.get_de_DE.properties
                        |   |– preview
                        |   |   `– web-preview.get_de_DE.properties
                        |   |– profile
                        |   |   |– change-password.get_de_DE.properties
                        |   |   |– user-content.get_de_DE.properties
                        |   |   |– user-sites.get_de_DE.properties
                        |   |   |– userprofile.get_de_DE.properties
                        |   |   `– userprofiletoolbar.get_de_DE.properties
                        |   |– rules
                        |   |   |– config
                        |   |   |   |– rule-config-action.get_de_DE.properties
                        |   |   |   |– rule-config-condition.get_de_DE.properties
                        |   |   |   `– rule-config-type.get_de_DE.properties
                        |   |   |– rule-details.get_de_DE.properties
                        |   |   |– rule-edit.get_de_DE.properties
                        |   |   |– rules-header.get_de_DE.properties
                        |   |   |– rules-linked.get_de_DE.properties
                        |   |   |– rules-list.get_de_DE.properties
                        |   |   `– rules-none.get_de_DE.properties
                        |   |– search
                        |   |   `– search.get_de_DE.properties
                        |   |– site
                        |   |   `– customise-pages.get_de_DE.properties
                        |   |– site-finder
                        |   |   `– site-finder.get_de_DE.properties
                        |   |– site-members
                        |   |   |– site-groups.get_de_DE.properties
                        |   |   `– site-members.get_de_DE.properties
                        |   |– tag-filter
                        |   |   `– tag-filter.get_de_DE.properties
                        |   |– tags
                        |   |   `– tags.get_de_DE.properties
                        |   |– title
                        |   |   |– collaboration-title.get_de_DE.properties
                        |   |   |– people-finder-title.get_de_DE.properties
                        |   |   |– profile-title.get_de_DE.properties
                        |   |   |– repository-title.get_de_DE.properties
                        |   |   |– search-title.get_de_DE.properties
                        |   |   |– site-finder-title.get_de_DE.properties
                        |   |   `– user-dashboard-title.get_de_DE.properties
                        |   |– upload
                        |   |   |– flash-upload.get_de_DE.properties
                        |   |   `– html-upload.get_de_DE.properties
                        |   `– wiki
                        |       |– createform.get_de_DE.properties
                        |       |– filter.get_de_DE.properties
                        |       |– page.get_de_DE.properties
                        |       |– pagelist.get_de_DE.properties
                        |       `– toolbar.get_de_DE.properties
                        `– modules
                            |– blog
                            |   |– comments
                            |   |   `– edit-comment.get_de_DE.properties
                            |   |– config
                            |   |   `– config-blog.get_de_DE.properties
                            |   `– rss
                            |       `– postlist-rss.get_de_DE.properties
                            |– create-event.get_de_DE.properties
                            |– create-site.get_de_DE.properties
                            |– data-picker.get_de_DE.properties
                            |– delete-site.get_de_DE.properties
                            |– discussions
                            |   |– replies
                            |   |   `– reply-form.get_de_DE.properties
                            |   |– rss
                            |   |   `– topiclist-rss.get_de_DE.properties
                            |   `– topic
                            |       `– edit-topic.get_de_DE.properties
                            |– document-details
                            |   `– revert-version.get_de_DE.properties
                            |– document-picker.get_de_DE.properties
                            |– documentlibrary
                            |   |– aspects.get_de_DE.properties
                            |   |– change-type.get_de_DE.properties
                            |   |– copy-move-to.get_de_DE.properties
                            |   |– create-folder.get_de_DE.properties
                            |   |– global-folder.get_de_DE.properties
                            |   |– permissions.get_de_DE.properties
                            |   `– workflow.get_de_DE.properties
                            |– edit-site.get_de_DE.properties
                            |– email-form.get_de_DE.properties
                            |– feed
                            |   |– config-feed.get_de_DE.properties
                            |   `– config-feed.post_de_DE.properties
                            |– links
                            |   |– delete-link.get_de_DE.properties
                            |   `– rss
                            |       `– links-rss.get_de_DE.properties
                            |– property-picker.get_de_DE.properties
                            |– rules
                            |   |– actions
                            |   |   |– checkin.get_de_DE.properties
                            |   |   `– workflow.get_de_DE.properties
                            |   |– rules-picker.get_de_DE.properties
                            |   `– rules-property-picker.get_de_DE.properties
                            |– webview
                            |   `– config-webview.get_de_DE.properties
                            `– wiki
                                |– config-wiki.get_de_DE.properties
                                `– revert-wiki-version.get_de_DE.properties

and in /etc/tomcat6/catalina.properties:

shared.loader=${catalina.base}/shared/classes,${catalina.base}/shared/lib/*.jar

mcaviti
Champ in-the-making
Champ in-the-making
Hello Homer!

I'm probably a step further, yet it's still not fully functional for me, see:
http://forums.alfresco.com/de/viewtopic.php?f=7&t=629

Two things that might help you:

.) I had to enable the german lang pack in a property file, as explained in section "Login Language Options" in this document:
http://wiki.alfresco.com/wiki/Language_Pack_Installation

.) The languge selection in the browser must fit exactly. E.g. I had de_AT as default in my firefox - did not work.

Now share detects that i want German localization, the messages are in German, but the web texts are still in English (as stated in my beforementioned post)

Hope this helps a bit,
~klemens