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 168850 - I18N : javahelp search index needs be provided per language
Summary: I18N : javahelp search index needs be provided per language
Status: RESOLVED INVALID
Alias: None
Product: javafx
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Adam Sotona
URL:
Keywords: I18N
Depends on:
Blocks:
 
Reported: 2009-07-21 08:05 UTC by Masaki Katakai
Modified: 2010-02-17 18:09 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Masaki Katakai 2009-07-21 08:05:37 UTC
It happens on both NB6.5.1/NB6.7.1 JavaFX plugin. Try to search something
on JavaHelp. Even when IDE starts in English locale, Japanese and Chinese
contents are also matched because it seems that those are packaged in
single module and same search index is used.

1. Start NetBeans with JavaFX in English locale
2. Help > Help Contents
3. Try search e.g. "JavaFX"

Only English contents should be matched but you can see Japanese and Chinese
pages are also displayed.

It's better to provide separate search index per language.
Comment 1 Cynthia Castillo 2009-10-02 17:55:28 UTC
Transferring to Irina who is now the docs person for JavaFX plugin.

Irina, docs team does not handle L10N of the help, but perhaps you can follow-up more with submitter and/or the l10n team?
Patrick K. has 2 guesses: maybe L10N put the files in the wrong place? Or, the build script made a mistake and packaged
the items incorrectly.

Regards,
-Cindy
Comment 2 Masaki Katakai 2009-10-05 04:56:03 UTC
Hi Cindy,

This is not a doc issue. I think some modification is needed in build script.

JavaFX plugin team decided to include English and localized html files in one jar file
and currently search index files are generated commonly in one place for all languages.

 11234 Sat Oct 03 04:54:12 JST 2009 org/netbeans/modules/javafx/kit/docs/JavaHelpSearch/DOCS
  2138 Sat Oct 03 04:54:12 JST 2009 org/netbeans/modules/javafx/kit/docs/JavaHelpSearch/DOCS.TAB
   336 Sat Oct 03 04:54:12 JST 2009 org/netbeans/modules/javafx/kit/docs/JavaHelpSearch/OFFSETS
 31390 Sat Oct 03 04:54:12 JST 2009 org/netbeans/modules/javafx/kit/docs/JavaHelpSearch/POSITIONS
    54 Sat Oct 03 04:54:12 JST 2009 org/netbeans/modules/javafx/kit/docs/JavaHelpSearch/SCHEMA
 55296 Sat Oct 03 04:54:12 JST 2009 org/netbeans/modules/javafx/kit/docs/JavaHelpSearch/TMAP

These files need to be created per language.

  org/netbeans/modules/javafx/kit/docs/JavaHelpSearch/ for EN
  org/netbeans/modules/javafx/kit/docs/ja/JavaHelpSearch/ for JA
  org/netbeans/modules/javafx/kit/docs/zh_CN/JavaHelpSearch/ for zh_CN
Comment 3 Adam Sotona 2009-10-07 13:52:49 UTC
Ok, I see.
Michale, could you look at it? Thanks.
Comment 4 Irina Filippova 2010-02-17 08:06:50 UTC
Changing to the correct component: JavaFX
Comment 5 Masaki Katakai 2010-02-17 18:09:28 UTC
Thank you very much Irina,

In the current plan, we will be removing localized javahelp for JavaFX plugin in next release so let's close as INVALID now.