Bug 23814 - I18N - mnemonic key doesn't work with translated.
I18N - mnemonic key doesn't work with translated.
Product: nblocalization
Classification: Unclassified
Component: Code
Sun All
: P2 (vote)
Assigned To: Hiroshi Nakatsubo
: A11Y, I18N
Depends on:
  Show dependency treegraph
Reported: 2002-05-22 07:38 UTC by Hiroshi Nakatsubo
Modified: 2002-12-23 16:35 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT

Image1.gif (10.93 KB, image/gif)
2002-05-22 07:47 UTC, Hiroshi Nakatsubo
Image2.gif (11.07 KB, image/gif)
2002-05-22 07:48 UTC, Hiroshi Nakatsubo
Image3.gif (17.82 KB, image/gif)
2002-05-22 07:49 UTC, Hiroshi Nakatsubo
Image4.gif (11.92 KB, image/gif)
2002-05-22 07:50 UTC, Hiroshi Nakatsubo
Image5.gif (12.65 KB, image/gif)
2002-05-22 07:50 UTC, Hiroshi Nakatsubo
Image6.gif (22.16 KB, image/gif)
2002-05-22 07:51 UTC, Hiroshi Nakatsubo

Note You need to log in before you can comment on or make changes to this bug.
Description Hiroshi Nakatsubo 2002-05-22 07:38:34 UTC
Please see attched image file.
Mnemonic Keys which was mistaken on the Japanese
is attached.

To reproduce:

  /About.java  is chosen.
2.Right click is carried out on About.java
  and Tools->Internationalization->
  Internationalize is chosen. 
  Internationalize displays.
3-1.Browse button is pushed.
    Select Resource Budles displays.
    ---The Mnemonic Keys of "Select:".(Image1.gif)
3-2.New button is pushed.
    New Budle displays.
    ---The Mnemonic Keys of "Filesystem:".
3-3.Format button is pushed.
    Replace Code Format Editor displays.
  ---The Mnemonic Keys of "Replace Code Format:".

1.New Folder is created.
2.Right click is carried out on New Folder
  and New->Other->Properties File is chosen. 
3.Finish button is pushed.
  Properties is created.
4.Right click is carried out on New Folder 
  and Tools->Internationalization->
  Internationalization Wizard is chosen.
  Select Sources to Internationalize(1 of 3)
5.Add Source button is pushed.
  Select Sources displays.
  ---The Mnemonic Keys of "Filesystems:".
  is chosen.
  Ok button is pushed.
7.Next button is pushed.
  Select Resource for Sources(2 of 3) displays.
8.Select All button is pushed.
  Select Resource displays.
  ---The Mnemonic Keys of "Filesystems:".
9./New Folder/properties is chosen.
  Ok button is pushed.
10.Next button is pushed.
   Modify Found String(3 of 3) displays.
   ---The Mnemonic Keys of "Source:".

Would you check if the first character is not used
as mnemonic key?

By localization, the first character becomes
no-ascii character. 
As a result, the mnemonic key doesn't work by
To fix this problem, we need to set two resource
bundle messages, one is for caption, another is
for mnemonic.

And we should use like this:   

I guess other many objects are implemented like
The following line does not work with localized
version, because the
first character is not an alphanumeric because
it's replaced to
     multi-byte Japanese character.

*Orion Build:orion_ml_020519
Comment 1 Hiroshi Nakatsubo 2002-05-22 07:47:25 UTC
Created attachment 5891 [details]
Comment 2 Hiroshi Nakatsubo 2002-05-22 07:48:30 UTC
Created attachment 5892 [details]
Comment 3 Hiroshi Nakatsubo 2002-05-22 07:49:19 UTC
Created attachment 5893 [details]
Comment 4 Hiroshi Nakatsubo 2002-05-22 07:50:01 UTC
Created attachment 5894 [details]
Comment 5 Hiroshi Nakatsubo 2002-05-22 07:50:42 UTC
Created attachment 5895 [details]
Comment 6 Hiroshi Nakatsubo 2002-05-22 07:51:20 UTC
Created attachment 5896 [details]
Comment 7 _ pkuzel 2002-05-29 13:12:15 UTC
1), 2), 4) and 5) requires '&' value escaping to tag mnemonics
3) and 6) fixed in source code
Comment 8 Marek Grummich 2002-07-22 11:41:37 UTC
Set target milestone to TBD
Comment 9 Ken Frank 2002-10-14 16:27:53 UTC
Moving to P2 after consultation with A11Y QA
since we feel that these mnemonic issues
do need to be fixed in next release.

Comment 10 hiroshiy 2002-11-15 08:42:16 UTC

I found that, this issue is no longer re-appeared by suitable
translation. Therefore, I agree with current specs.

But, this may be re-appeared in l10n works into other language, 
in nearly future.

And I hope that, all developers put "&" which shows mnemonic
in the string, even if mnemonic is an initial character of the string.
Then, all translators can understand that exists of mnemonic.

Thank you - Hiroshi.
Comment 11 hiroshiy 2002-11-15 08:42:34 UTC
Comment 12 hiroshiy 2002-11-19 06:01:35 UTC
And I've verified, '&' sign was inserted suitably in
Therefore, this issue will never re-appear.
Thank you all !!
Comment 13 Jesse Glick 2002-12-23 16:35:42 UTC
Consistent use of the I18N keyword.

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo