Bug 3081 - Need support for specifying the locale info in Plugin.find() (1GGPF9N)
Summary: Need support for specifying the locale info in Plugin.find() (1GGPF9N)
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Resources (show other bugs)
Version: 2.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 2.0 M5   Edit
Assignee: Jeff McAffer CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-10-10 22:49 EDT by Jeff McAffer CLA
Modified: 2002-04-01 17:37 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jeff McAffer CLA 2001-10-10 22:49:07 EDT
Currently one can pass a path pattern $nl$ to the Plugin.find() method to get plugin resources 
for the current locale. However, it is not possible to ask for plugin resources corresponding to 
a locale different than the current one. The $nl$ pattern should perhaps be extends with some locale
info, something like 
-  $nl$ : use default locale
-  $nl:en_US$ : lookup in the en_US, then en, then try default.

This is needed in the help system to support a remote installation scenario (docs on a server).

NOTES:
Comment 1 DJ Houghton CLA 2001-10-24 06:43:36 EDT
PRODUCT VERSION:
R09

Comment 2 Konrad Kolosowski CLA 2002-03-28 14:45:40 EST
In a 20020321 build I see a find(IPath path, Map override) API that provides 
this functionality. Thanks.  I think you can close this bug.

There is another problem that find does not search correct directories.  I have 
open bug 12463 to report it.
Comment 3 DJ Houghton CLA 2002-04-01 17:37:34 EST
Closing at originator's request.