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 75353 - I18N - some items on new welcome screen dont invoke localized docs
Summary: I18N - some items on new welcome screen dont invoke localized docs
Status: VERIFIED FIXED
Alias: None
Product: ide
Classification: Unclassified
Component: Welcome (show other bugs)
Version: 5.x
Hardware: Sun All
: P2 blocker (vote)
Assignee: Stanislav Aubrecht
URL:
Keywords: I18N
Depends on:
Blocks:
 
Reported: 2006-04-21 16:27 UTC by Ken Frank
Modified: 2006-08-21 19:49 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
patch for ide/welcome/src/org/netbeans/modules/welcome/resources/layer.xml, please evaluate (3.01 KB, patch)
2006-08-09 08:51 UTC, Masaki Katakai
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ken Frank 2006-04-21 16:27:52 UTC
In new nb welcome screen, using 0420 build, under Getting Started section,
the web pages do not show the files from the locale specfic data that has
been done by customizing the various .url files and the welcome jar
.../resources/Bundle.properties file.

Also, in nb5.5/docs are pseudo localized versions of the html docs; this setup
is same as was for 5.0 with localized docs in same dir as en ones.

for example, click on whats new and get the nb5.5/docs/whatsnew.html, not the
whatsnew_ja.html
Comment 1 Masaki Katakai 2006-08-09 08:48:27 UTC
It seems that layer.xml needs to use "nbresloc:" protocol to pick up
localized .url file (if exists) instead of English file.

./welcome/src/org/netbeans/modules/welcome/resources/layer.xml

-            <file name="quickstart.url" url="quickstart.url">
+            <file name="quickstart.url"
url="nbresloc:/org/netbeans/modules/welcome/resources/quickstart.url">

This is one example, I'll attach patch file.


Comment 2 Masaki Katakai 2006-08-09 08:49:22 UTC
moved to ui/welcome.
Comment 3 Masaki Katakai 2006-08-09 08:51:16 UTC
Created attachment 32681 [details]
patch for ide/welcome/src/org/netbeans/modules/welcome/resources/layer.xml, please evaluate
Comment 4 Ken Frank 2006-08-09 16:41:39 UTC
To dev team, since there is the upcoming ml beta, and since this
is so visible, can this be fixed now ?  Also, its late enough
in the cycle that this needs to be fixed anyway to get a good baseline
to make sure there are not other problems.

ken.frank@sun.com
Comment 5 Stanislav Aubrecht 2006-08-16 12:35:17 UTC
fixed in trunk (thanks for the patch)

Checking in layer.xml;
/cvs/ide/welcome/src/org/netbeans/modules/welcome/resources/layer.xml,v  <-- 
layer.xml
new revision: 1.5; previous revision: 1.4
done
Comment 6 Stanislav Aubrecht 2006-08-17 14:45:20 UTC
fixed in release55 branch

Checking in layer.xml;
/cvs/ide/welcome/src/org/netbeans/modules/welcome/resources/layer.xml,v  <-- 
layer.xml
new revision: 1.1.2.7; previous revision: 1.1.2.6
Comment 7 Ken Frank 2006-08-21 19:49:27 UTC
verified in 0819 daily build

I don't see the names of sample projects on welcome as from the locale
now, but need to check more and that would be a separate issue anyway.

ken.frank@sun.com