Skip to main content



      Home
Home » Newcomers » Newcomers » plugin.properties externalized names
plugin.properties externalized names [message #254033] Wed, 16 April 2008 10:14 Go to next message
Eclipse UserFriend
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 10:32 Go to previous messageGo to next message
Eclipse UserFriend
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 12:21 Go to previous messageGo to next message
Eclipse UserFriend
"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] Wed, 16 April 2008 20: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: Sun May 11 16:59:59 EDT 2025

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

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

Back to the top