| Summary: | PDE does not find localization properties file if a fragment provides translations | ||
|---|---|---|---|
| Product: | [Eclipse Project] PDE | Reporter: | Benjamin Pasero <benjamin_pasero> |
| Component: | UI | Assignee: | PDE-UI-Inbox <pde-ui-inbox> |
| Status: | CLOSED WONTFIX | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | caniszczyk, curtis.windatt.public, hihn, Michael_Rennie |
| Version: | 3.6 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | stalebug | ||
|
Description
Benjamin Pasero
I should add that the plugin.xml has lots of ther strings that are peferctly fine with regards to being externalized - no error is shown. Its only for new strings I externalize where this happens. Its weird, is there some other location where this info is stored that might be stale? Btw I am using 3.4 and 3.5 for the same project (not the same workspace though) and adding a new string to the plugin.xml from my 3.4 Eclipse does not show this error annotation. What is your Bundle-Localization value? That's where we will look for externalized values. By default, it's the OSGI-INF location as dictated by the OSGi specification when Bundle-Localization isn't specified. Its Bundle-Localization: plugin and I am having a plugin.properties file with all my externalized strings. It works for all of my existing strings, but not for new ones I add :-( Actually the issue seems that I have a fragment in my workspace that sets the plugin as host where I see this error. This fragment contains a plugin_de.properties file (its my I18N fragment). I think I would have found out sooner if the error message was making it clearer why it complains about a missing string. Michael experienced the same issue when he had multiple nl fragments installed from Babel. PDE grabs all the fragments and adds them to a URL classloader in NLResourceHelper. However, the host bundle appears to always be added first in the list, so one would think the host location would be checked and used first. This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. -- The automated Eclipse Genie. |