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 61303

Summary: "How to translate" doc needs brief section on layer.xml files
Product: nblocalization Reporter: _ tball <tball>
Component: CodeAssignee: issues@nblocalization <issues>
Status: RESOLVED WONTFIX    
Severity: blocker CC: mentlicher
Priority: P3    
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

Description _ tball 2005-07-22 17:59:57 UTC
In the "How to translate the Netbeans IDE" tutorial
(http://translatedfiles.netbeans.org/docs/HOWTOs/How-to-translate-NetBeans.html),
no mention is made of the need to localize XML filesystem layer files.  Since
the limited documentation on layer files doesn't mention anything about
localization, it would be easy to miss layer files from a translation.
Comment 1 _ mihmax 2005-07-22 18:33:10 UTC
Rudolf,
do you know who should I ask about localizing the "layer.xml" files?

Maxym
Comment 2 rbalada 2005-07-22 18:43:20 UTC
Good question.

There is many examples in localization of vcsgeneric layer files.
translatedfiles/build.xml on release40 and release41 branches has many calls of
<makelayer> task. Look for vcsgeneric ones how it's done. I guess it's done
somehow with using Bundle.properties files and these Bundle_${locale}.propeties
files are referenced from layer_${locale}.xml files. I don't remember all
details, but I guess it's enough to start research.

Also Martin Entlicher, who used to be vcsgeneric module developer could tell us
more about referencing "external" Bundle.properties files from within layer.xml
files (I'm not NetBeans developer, so please bear with me if it's known/obvious
how to refer Bundle.properties from layer.xml).
Comment 3 Jiri Prox 2007-09-17 21:38:04 UTC
Obsolete milestone, please reevaluate