[opencms-dev] Add a new entry to workplace menu in english language

Francisco Lopera Morlas (ENCAMINA) flopera at encamina.com
Wed Jul 20 11:39:48 CEST 2011


I need recompile opencms.jar to add a entry in
org.opencms.workplace.explorer.messages.properties in english?

Thanks.


-----Mensaje original-----
De: opencms-dev-bounces at opencms.org [mailto:opencms-dev-bounces at opencms.org]
En nombre de Mario Jäger
Enviado el: lunes, 18 de julio de 2011 9:58
Para: opencms-dev at opencms.org
Asunto: Re: [opencms-dev] Add a new entry to workplace menu in english
language

Hello,

The english message bundle texts for the context menu are in the
org.opencms.workplace.explorer.messages.properties file. That file is in the
opencms.jar file.

Kind Regards,
Mario.



Am 13.07.2011 19:50, schrieb flopera at encamina.com:
> Hello.
>
>   I need to add a new menu entry in the contextual menu of the workplace.
> This context menu is the workplace: "lock", "delete", "copy", etc. I 
> want to add an entry called "translate".
>
>   I edited the configuration file opencms-workplace. Xml by adding this
entry:
>
> <entry key="GUI_EXPLORER_CONTEXT_TRANSLATE_0" uri="commons/translate.jsp"
> rule="standard"/>
> 			<separator/>
>
> Within OpenCMS, I edited the files Spanish and German.
>
>   / system / workplace / locales / es / messages / org / opencms / 
> workplace / explorer / messages_de.properties
>   and
>   / system / workplace / locales / de / messages / org / opencms / 
> workplace / explorer / messages_es.properties
>
>   I entered my key: GUI_EXPLORER_CONTEXT_TRANSLATE_0 and translation.
>
>   I restarted tomcat and it works! I can see the new menu entry 
> translated
>
>   But as I add it in English? No such file / system / workplace / 
> locales / en / messages / org / opencms / workplace / explorer / 
> messages.properties
>
>   I tried to create it, but does not seem to read it.
>
>   Has anyone managed to do?
>
>   Thank you very much.
>
>
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list To change 
> your list options, or to unsubscribe from the list, please visit 
> http://lists.opencms.org/mailman/listinfo/opencms-dev


--
-------------------
Mario Jäger

Alkacon Software GmbH  - The OpenCms Experts http://www.alkacon.com -
http://www.opencms.org

_______________________________________________
This mail is sent to you from the opencms-dev mailing list To change your
list options, or to unsubscribe from the list, please visit
http://lists.opencms.org/mailman/listinfo/opencms-dev




More information about the opencms-dev mailing list