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 173718 - I18N : please remove localized files (both .properties and html files) from ergonomics2/modules/org-netbeans-modules-ide-ergonomics.jar
Summary: I18N : please remove localized files (both .properties and html files) from e...
Status: VERIFIED FIXED
Alias: None
Product: ide
Classification: Unclassified
Component: Features On Demand (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jaroslav Tulach
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-05 05:40 UTC by Masaki Katakai
Modified: 2009-10-26 04:37 UTC (History)
0 users

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-10-05 05:40:13 UTC
This issue from bug 168852. There is no way to localize some strings at build time. So
g11n team is providing these files in localized jar file:

  ergonomics2/modules/locale/org-netbeans-modules-ide-ergonomics_<lang>.jar

Please move JavaFX localized files from ergonomics2/modules/org-netbeans-modules-ide-ergonomics.jar.

It seems that when localized files exist in the jar file above, localized files in
localized org-netbeans-modules-ide-ergonomics_<lang>.jar will not be picked up.
Comment 1 Jaroslav Tulach 2009-10-21 09:10:38 UTC
I will seek a way to simplify the system. I do not want your team to localize the same text twice (one in original 
module and once in ergonomics.jar).
Comment 2 Jaroslav Tulach 2009-10-21 19:40:49 UTC
ergonomics#b6ce79cd5cfc

Now it should be enough to localize just this key and the proper message will be generated during runtime:
http://hg.netbeans.org/ergonomics/diff/b6ce79cd5cfc/ide.ergonomics/src/org/netbeans/modules/ide/ergonomics/fod/Bundle.properties

I hope everything will work. It is hard to test it on local computer.
Comment 3 Masaki Katakai 2009-10-26 04:37:53 UTC
Thank you!

I tried it on the latest dev build with my pseudo localized files.
It's working fine!

I'll try to check again once actual translation is in but mark it as VERIFIED now.

Thanks again! It's great!