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 46277 - I18N - workaround needed for other zh locales for installer
Summary: I18N - workaround needed for other zh locales for installer
Status: VERIFIED WORKSFORME
Alias: None
Product: installer
Classification: Unclassified
Component: Code (show other bugs)
Version: 4.x
Hardware: Sun All
: P2 blocker (vote)
Assignee: mslama
URL:
Keywords: I18N
Depends on:
Blocks:
 
Reported: 2004-07-19 07:35 UTC by Ken Frank
Modified: 2007-05-29 17:58 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 Ken Frank 2004-07-19 07:35:18 UTC
Due to installshield issues, we need to workaround
some lack of recognition of zh_TW and zh_HK locales
for unix - as we have done on products in the past
- this is needed for both the nb4 installer and the
mobility installer:

1. copy the en license file in the installer jar to
<filename>_zh_TW.html
<filename>_zh_HK.html

2. copy the en Bundle file or
InstallerResources.class to 
Bundle_zh_TW.properties, Bundle_zh_HK.properties
or InstallerResources_zh_TW or zh_HK.class

--> this will result in, when user is in
either of those 2 locales, they will see english
messages and license, which is desired - since
we are not localizing for those locales.

Due to the IS bug, if this was not done, then
user in those locales would see our localized
zh_CN messages, but zh_CN is a completely
different locale/language; its just the "zh"
that is the same as the others.
Comment 1 mslama 2004-07-27 14:56:32 UTC
Shall I do it in CVS (it means that if anyone changes original en file
she must also update TW and HK files) or shall I do that in build.xml
script? I suppose it is better to make it in build script.
Comment 2 _ ttran 2004-08-13 14:18:57 UTC
better to do it in build.xml.  One question though: we upgraded to
ISMP5, maybe the bug has been already fixed in IS.  Ken, how can we
verify it?

We need to resolve this issue for beta2
Comment 3 Ken Frank 2004-08-14 00:43:48 UTC
in 0812 nb jar installer,not a problem on solairs in
zh_TW or zh_HK localem when localized lic and bundle is
for zh_CN (l10n needs to use zh_CN now unlike in past
I think when IS wanted zh for simp zh )

Please give me ptr to budvar ME jar installer and I'll
try it with that one, assume its setup same as nb one ?

ken.frank@sun.com
08.13.04
Comment 4 mslama 2004-09-20 12:27:43 UTC
Closing as WORKSFORME. Ken if you find any problem please reopen.
(Latest builds of ME already contain jar file at usual place.)
Comment 5 Ken Frank 2007-05-29 17:58:58 UTC
v