Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-ui-dev] Internationalize global actions?

Mathieu

This is a forum for news on the development of the Eclipse UI rather than 
a support group - you post these ypes of questions to the Eclipse 
newsgroup.

The way you do this is by creating fragments for each plug-in you have 
translated for with the extension.nl and then create message files for 
each language in the jar for the frgament. See the Eclipse downloads for 
an example.

Tod





Mathieu Fougeray <mathieu.fougeray@xxxxxxxxxxxx>
Sent by: platform-ui-dev-admin@xxxxxxxxxxx
01/23/2004 06:02 AM
Please respond to platform-ui-dev

 
        To:     platform-ui-dev@xxxxxxxxxxx
        cc: 
        Subject:        [platform-ui-dev] Internationalize global actions?



Hi all, 


I developped some plugin with edition global actions, CUT, COPY, etc.

I create them in a WorkbenchAdvisor, this way :

MenuManager menu = new MenuManager(Messages.getString("Edit"), 
//$NON-NLS-1$
            IWorkbenchActionConstants.M_EDIT);
menu.add(new GroupMarker(IWorkbenchActionConstants.EDIT_START));
menu.add(ActionFactory.UNDO.create(window));


The fact is I would like to have all these actions internationalized, so 
if anybody could help me on how to do it... is there a way to make it from 
my plugin.xml via <extension> ? Or via a property file?

Thanks for help!


Mathieu Fougeray.
_______________________________________________ platform-ui-dev mailing 
list platform-ui-dev@xxxxxxxxxxx http://dev.eclipse.org/mailman/listinfo/platform-ui-dev 




Back to the top