This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 30297

Summary: I18N - Layer_f4j_ja.xml i18n is not worked correctly.
Product: utilities Reporter: jf4jbug <jf4jbug>
Component: CodeAssignee: issues@utilities <issues>
Status: CLOSED FIXED    
Severity: blocker Keywords: I18N
Priority: P3    
Version: -S1S-   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description jf4jbug 2003-01-23 00:55:58 UTC
Japan verified and evaluated Layer_f4j_ja.xml file
in utilities_f4j_ja.jar
by using Sun ONE Stuido 4.2 (Nevada).

Currently, some *.url files specify the linking
URL in
Help menu and so on.
We'd like to only make *_ja.url without editing
Layer_f4j_ja.xml for our l10n works.
That is to say, when Layer_f4j_ja.xml is described
as follows,

----------------------
        <file name="resources-home.url"
url="nbresloc:/org/netbeans/modules/utilities/resources-home.url">
            <attr
name="SystemFileSystem.localizingBundle"
stringvalue="org.netbeans.modules.url.Bundle"/>
        </file>
----------------------

and if the system locale is Ja,
then I hope IDE use automatically not
resources-home_f4j.url 
but resources-home-ja_f4j_ja.url.

As workaround, we edited the value of "file name" 
and "url" in Layer_f4j_ja.xml, and added some
message IDs
in Bundle_f4j_ja.properties.
But I think this is not ideal i18n.

Yasuhiro
Comment 1 jf4jbug 2003-01-23 02:40:29 UTC
I'm sorry for my misunderstanding.
I fond how to localize this file correctly.
This is not a bug, so I will close this report.