Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Mistake by externilization of string from the plugin.xml
Mistake by externilization of string from the plugin.xml [message #490615] Fri, 09 October 2009 12:23 Go to next message
Michelle Davidson is currently offline Michelle DavidsonFriend
Messages: 41
Registered: August 2009
Member
Hello,

I want to externaize the Strings of my plugin.xml. Therefor I create the file plugin.properties. In this file I wrote one property for my perspective

Quote:
perspectiveStructure=Struktur


In the plugin.xml I set this property for the name parameter of my perspective

 <perspective
            class="de.md.rcp.StructurePerspective"
            id="de.md.rcp.structurePerspective"
            name="%perspectiveStructure">
      </perspective>


But whn I start my application. then the name will not be replaced with the value from the plugin.property.

Why? Where is my mistake and what must I change?
Re: Mistake by externilization of string from the plugin.xml [message #490712 is a reply to message #490615] Fri, 09 October 2009 19:02 Go to previous message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

You need to make sure that your plugin.properties is included in your build.properties and also set localization in your MANIFEST. Usually is literally:
Bundle-Localization: plugin

PW


Previous Topic:Dynamic View throws error on restart
Next Topic:Problem whit load image
Goto Forum:
  


Current Time: Mon Nov 24 15:11:07 GMT 2014

Powered by FUDForum. Page generated in 0.13644 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software