cancel
Showing results for 
Search instead for 
Did you mean: 

share-header localization problem

menczingerm
Champ on-the-rise
Champ on-the-rise
Hi there,

I am using Alfresco 5.0.d version with Hungarian localization but at the header localization I have got a problem. All the .properties files are translated but "Home, My Files, Shared Files, Sites, Tasks" menu points and the search message in the header hasn't changed.

We find out share-header.lib.js is rendering that part of the page. So I checked share-header.lib_hu.properties and share-header.get_hu.properties files but all the localizations looks fine. I even replaced the share-header.lib_hu.properties and share-header.get_hu.properties with their _fr.properties versions and the same part of the header stayed english.



Could you tell me which .properties files contains that part of the header? How could I translate that part?

I also think my problem connected to this topic in Alfresco forum. 


Thanks,
menczingerm.

6 REPLIES 6

hardik1512
Star Contributor
Star Contributor
I guess it takes from AlfMenuBar_en.properties file located @  tomcat\webapps\share\js\alfresco\header\i18n folder. 

Try changing that.

Hi Hardik1512!

Thx for the reply,

Alfresco 5.0.d clean install doesn't have properties files there (@ tomcat\webapps\share\js\alfresco\header\i18n ). Alfresco 4.2. does have.

Are you sure there should be files @ tomcat\webapps\share\js\alfresco\header\i18n in Alfresco 5.0.d ?

menczingerm.

Hi!

I found out i have to use @ tomcat/webapps/share/js/aikau/1.0.8.1/alfresco/header/i18n/ structure instead of @ tomcat\webapps\share\js\alfresco\header\i18n for alfresco 5.0.d

like this: https://github.com/Alfresco/Aikau/tree/master/aikau/src/main/resources/alfresco/header/i18n

menczingerm.

xe360_vn
Champ in-the-making
Champ in-the-making
Can you help me translate share header menu for Alfresco community 5.1
Thanks..

in 5.1, changing alfresco\site-webscripts\org\alfresco\share\imports\ share-header.lib.properties  does not work.  Those "Home, My Files, Shared Files, Sites, Tasks" do not change, others do change.

jamilnour
Star Contributor
Star Contributor
You need to add your language properties inside the aikau-1.0.63.jar which is in \Alfresco\share\webapps\share\WEB-INF\lib
properties are no more read from \Alfresco\share\webapps\share\js\alfresco

Jamil