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

Mario Jäger m.jaeger at alkacon.com
Mon Jul 18 09:58:28 CEST 2011


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



More information about the opencms-dev mailing list