Use a custom Bundle.properties file stored in external library
"winder" <[email protected]> Sun, 23 Apr 2017 16:26:31 +0000
| Newsgroups | gmane.comp.java.netbeans.modules.openide.devel |
|---|---|
| Message-ID | <[email protected]> |
I'm porting a swing app into netbeans platform which has a few hundred strings already localized to about 20 languages (and an existing SaaS framework to assist with keeping these files up to date). I would like to continue using these strings without splitting them up into separate Bundle.properties files for each package. My existing properties files are in a library jar which I've included as a project dependency with resources named like MessagesBundle_en_US.properties. I've updated OpenIDE-Module-Localizing-Bundle accordingly: OpenIDE-Module-Localizing-Bundle: resources/MessagesBundle_en_US.properties Dispite that it seems that the original Bundle.properties file is still required: com/willwinder/ugs/nbp/core/actions/StartAction.java:[51,13] error: Cannot find resource com/willwinder/ugs/nbp/core/actions/Bundle.properties Also, even though there are no references anywhere to Bundle.properties in the IDE the @ActionRegistration annotation has an inline error stating "No key 'my-key' found in path.to.this.package.Bundle" Is it possible to change the name/location of Bundle.properties?