Skip to main content



      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 08:23 Go to next message
Eclipse UserFriend
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 15:02 Go to previous message
Eclipse UserFriend
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: Wed Jul 23 14:56:05 EDT 2025

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

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

Back to the top