-
Bug
-
Resolution: Fixed
-
P3
-
7
-
None
-
b138
-
generic
-
generic
-
Verified
This is found when checking JCP in non-asian locales. It's also found by checking the resource file Deployment_xx.java, where xx is a EU locale or pt_BR. The problem may also happen in other components, as this is a translation convention change. The mnemonic key does not follow the localized button label anymore. Instead, it's just same as the English one.
In previous builds (prior to b130) and releases like 6ur, mnemonic keys are decided based on the localized button labels on the same panel. For example, Deployment_fr.java
{ "general.cache.view.text", "Afficher..." },
{ "general.cache.view.text.mnemonic", "VK_A"},
in English (Deployment.java)
{ "general.cache.view.text", "View..." },
{ "general.cache.view.text.mnemonic", "VK_V"},
The mnemonic keys are based on localized button label text, rather than the English one. It's often differen from the English one.
After the translation in b130, all the mnemonic keys are the same as what in English, not related with the localized button label. This should happen in all the non-asian locales. This causes three problems:
1.For some labels, the mnemonic keys are missing, as in the localized label, there is no such character.
2.For most of the labels, the mnemonic key is not the begining character of the text.
3.For most of the labels, the mnemonic key is different from previous release.
To make the mnemonic key be based on localized label is more meaningful, and it's also what Java did before. For all the locales except pt_BR, rolling back to previous mnemonic keys can solve the problem.
pt_BR was added as a new supported locale in 6u21, and from its beginning, the mnemonic keys followed what in English, rather than based on localized button label. I'll file a seperate CR on 6u21, for this issue.
In previous builds (prior to b130) and releases like 6ur, mnemonic keys are decided based on the localized button labels on the same panel. For example, Deployment_fr.java
{ "general.cache.view.text", "Afficher..." },
{ "general.cache.view.text.mnemonic", "VK_A"},
in English (Deployment.java)
{ "general.cache.view.text", "View..." },
{ "general.cache.view.text.mnemonic", "VK_V"},
The mnemonic keys are based on localized button label text, rather than the English one. It's often differen from the English one.
After the translation in b130, all the mnemonic keys are the same as what in English, not related with the localized button label. This should happen in all the non-asian locales. This causes three problems:
1.For some labels, the mnemonic keys are missing, as in the localized label, there is no such character.
2.For most of the labels, the mnemonic key is not the begining character of the text.
3.For most of the labels, the mnemonic key is different from previous release.
To make the mnemonic key be based on localized label is more meaningful, and it's also what Java did before. For all the locales except pt_BR, rolling back to previous mnemonic keys can solve the problem.
pt_BR was added as a new supported locale in 6u21, and from its beginning, the mnemonic keys followed what in English, rather than based on localized button label. I'll file a seperate CR on 6u21, for this issue.