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.
some possible i18n situations: 1. some choices of languages show no templates defined as mentioned in 110962 about DTD - is that ok ? (want to be sure its not something needed to be localized that we don't know about) 2. for those with templates - is sometimes the description section empty ? that happens in ja locale with pseudo localized; want to make sure its something that might happen regardless of locale. 3. when the templates window first comes up, if not invoked before in this session, the col names do not come from pseudo localized bundles; but when choosing some other language choice than default one chosen, it does show the col names from localized, and then it keeps showing from pseudo localized. I've not seen this happen before in other parts of ide.
attached is gif showing from item 3 below - about the col names not coming from localized bundles on first invocation of ide and showing editor options - templates but after choosing some other lang dropdown, the columns do show from localized bundles. also see 113231 on that the col headers of templates cannot be resized, even in en locale. ken.frank@sun.com
Created attachment 46894 [details] image
re #1 - yes, there can be languages that have no code templates. I am not sure which ones define what templates, but as a rule of thumb if a language has templates in EN locale it has to have the same templates in any other locale re #2 - most of the code template don't have descriptions. AFAIK there is only a few of them in Java language that have descriptions. Again, if a template has a description it has to have a localized version of this description. For templates without descriptions, there are no bundle keys and there is nothing to localize. re #3 - clearly a defect
as mentioned in 110962, i think DTD does have templates shown; I see them when choose other editor then go back to DTD, then the listings appear. ken.frank@sun.com
Checking in CodeTemplatesPanel.java; /cvs/editor/options/src/org/netbeans/modules/options/codetemplates/CodeTemplatesPanel.java,v <-- CodeTemplatesPanel.java new revision: 1.32; previous revision: 1.31 done Checking in CodeTemplatesModel.java; /cvs/editor/options/src/org/netbeans/modules/options/codetemplates/CodeTemplatesModel.java,v <-- CodeTemplatesModel.java new revision: 1.16; previous revision: 1.15 done
*** Issue 110962 has been marked as a duplicate of this issue. ***
verifying. ken.frank@sun.com