cancel
Showing results for 
Search instead for 
Did you mean: 

Overridding Dafult labels in share

sradha
Champ on-the-rise
Champ on-the-rise
Hi,

I want to overriding the labels as " libary"  to "Customized Content" in document library page and the "inline-edit" to " Edit Content" in document action section.How to do that? Can anybody suggest?
4 REPLIES 4

scouil
Star Contributor
Star Contributor
Hello,

Most messages can be found in <tomcat home>/webapps/alfresco/WEB-INF/classes/alfresco/messages
For example the "inline-edit" one can be found in <tomcat home>/webapps/alfresco/WEB-INF/classes/alfresco/messages/slingshot.properties

Then you have 2 solutions:
1- Dirty
If you directly replace in the file, it should work but it's dirty. It's not grouped with other modifications and will be lost with an alfresco update.

2- Override it
In these files you can retrieve the IDs of the messages you wanna override (e.g.. actions.document.inline-edit).
Then you can create a new language file overriding this message (try googling it a bit, if you don't manage to do it come back here we'll help).
HINT: it includes creating both a spring bean to register the language bundle and creating the language files.

sradha
Champ on-the-rise
Champ on-the-rise
Hi,

I wanted to  override the  labels in share. I am able to change the label of "Inlie Edit" in share.But the "Library" tree label is present in the following path:
tomcat\shared\classes\alfresco\web-extension\site-webscripts\org\alfresco\components\documentlibrary\tree.properties.

Can you suggest how to override this?

scouil
Star Contributor
Star Contributor
No idea. Try it.
If it doesn't, there are some "share-specific" messages there:
<tomcat home>/webapps/share/WEB-INF/classes/alfresco/messages
The same 2 overriding methods apply

sradha
Champ on-the-rise
Champ on-the-rise
Hi,
Can anybody help?
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.