Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » plugin.properties externalized names
plugin.properties externalized names [message #254033] Wed, 16 April 2008 14:14 Go to next message
Jason Hocker is currently offline Jason HockerFriend
Messages: 43
Registered: July 2009
Member
I have a fragment plugin. I went through the wizard to externalize the
strings. So now I have a plugin.properties file. When I look at the tree
of the extensions on the extensions page of the pde, that looks fine. But
when I run the software I'm seeing the %names . What am I missing to get
the program to use the externalized strings?
Re: plugin.properties externalized names [message #254036 is a reply to message #254033] Wed, 16 April 2008 14:32 Go to previous messageGo to next message
Jason Hocker is currently offline Jason HockerFriend
Messages: 43
Registered: July 2009
Member
I've since learned that I have to use a different name for the properties
file in the fragment than what I named it in the main plugin.


"Jay Simpson" <jkh1978@hotmail.com> wrote in message
news:fu51jr$hsh$1@build.eclipse.org...
>I have a fragment plugin. I went through the wizard to externalize the
>strings. So now I have a plugin.properties file. When I look at the tree
>of the extensions on the extensions page of the pde, that looks fine. But
>when I run the software I'm seeing the %names . What am I missing to get
>the program to use the externalized strings?
>
Re: plugin.properties externalized names [message #254048 is a reply to message #254036] Wed, 16 April 2008 16:21 Go to previous messageGo to next message
Walter Harley is currently offline Walter HarleyFriend
Messages: 847
Registered: July 2009
Senior Member
"Jay Simpson" <jkh1978@hotmail.com> wrote in message
news:fu52l5$4e4$1@build.eclipse.org...
> I've since learned that I have to use a different name for the properties
> file in the fragment than what I named it in the main plugin.

Also, the plugin.properties file is generally just for the externalized
strings of the plugin.xml, that is, things like the plugin's own name and
its extensions (menu items and the like).

Externalized strings accessed from the plugin's code should be kept in one
or more separate messages.properties files, not in the plugin.properties
file.
Re: plugin.properties externalized names [message #254090 is a reply to message #254033] Thu, 17 April 2008 00:10 Go to previous message
Eclipse UserFriend
Originally posted by: zx.us.ibm.com

Jay Simpson wrote:
> I have a fragment plugin. I went through the wizard to externalize the
> strings. So now I have a plugin.properties file. When I look at the tree
> of the extensions on the extensions page of the pde, that looks fine. But
> when I run the software I'm seeing the %names . What am I missing to get
> the program to use the externalized strings?

Did you remember to include the properties file in the build.properties
file?

Is there a 'Bundle-Localization: plugin' within your MANIFEST.MF?
Previous Topic:global variables in watch window
Next Topic:Class not found - Source from required project with Mac OS X
Goto Forum:
  


Current Time: Mon Sep 16 23:17:05 GMT 2024

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

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

Back to the top