Bug 134407 - DBCS3.2: properties file support issue in the Java editor
Summary: DBCS3.2: properties file support issue in the Java editor
Status: RESOLVED DUPLICATE of bug 113080
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 3.2   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-02 04:48 EDT by Masayuki Fuse CLA
Modified: 2006-04-02 12:50 EDT (History)
4 users (show)

See Also:


Attachments
screenshot (95.06 KB, image/jpeg)
2006-04-02 04:49 EDT, Masayuki Fuse CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Masayuki Fuse CLA 2006-04-02 04:48:12 EDT
Description: We often add "_<Lang id"> to resource bundle properties file, please refer at getBundle in the Java API ref. If some properties files are on the java project, hover and Ctrl+Click don't work.
 Build date: M6, IBM JRE 5.0 SR-1
 OS: WindowsXP Japanese sp2
        Steps to recreate problem:
        1-Make a HelloWorld, and perform Externalize String 
        2-copy message.properties to message_ja.properties and translate it in Japanese
        3-rename messgae.properties to message_en.properties
        4-In the Java editor, try to show the hover and Ctrl+Click
         
 Expected output:
On Japanese locale, message_ja.propertiesw file should be read
Comment 1 Masayuki Fuse CLA 2006-04-02 04:49:18 EDT
Created attachment 37471 [details]
screenshot
Comment 2 Dani Megert CLA 2006-04-02 12:49:59 EDT
The current support is targeted for people writing Java code. We have to make sure that two people who work with different locale work on the same properties file. Otherwise new keys get added to different properties files depending on which locale the developer works. Therefore the current link and hover support is linked to the properties file that has no local information in the name.

Also note that when renaming the file, the string externalization wizard won't work any longer: it will issue "Entry is missing in property file." warnings and create a new properties file again.
Comment 3 Dani Megert CLA 2006-04-02 12:50:30 EDT

*** This bug has been marked as a duplicate of 113080 ***