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.
Hi, if I change or add something to the default translations in a Netbeans Platform application with the branding->Resouce Bundles menu of the application the needed jar folders in the branding folder of the project/application are generated. Afterwards there are two files, e.g. bundle.properties and bundle_de.properties, in the corresponding folders. If I build the application the jar are generated, e.g. org-netbeans-core-windows.jar. There the property files have a different name bundle_$(app_name).properties and bundle_de_$(app_name).properties. And the german file is not used. I think they should be named bundle_$(app_name)_de.properties. Andreas
Created attachment 136068 [details] Branded application Hi Andreas, thank you for your comment. I've tried to reproduce your problem by creating ant NB Platform App named application6. After that I've changed resource bundle for org/netbeans/core/windows in Resource Bundles tab and also in Internationalization Resource Bundles tab for en_us language mutation. Then I built the app and I can see in the location build/cluster/modules/locale org-netbeans-core-windows_application6.jar containing package org.netbeans.core.windows and org.netbeans.core.windows.view.ui both with Bundle_application6.properties file and org-netbeans-core-windows_application6_en_us.jar containing package org.netbeans.core.windows containing Bundle_application6_en_us.properties which fulfills your pattern Bundle_$(app_name)_$(language).properties. I think everything works fine.
Created attachment 136071 [details] jar file with wrong bundle.properties
This is quite strange. If I download your application6, open it with NetBeans IDE 7.3 (Build 201306052037) (all updates installed) under Linux and build the application, I'm still getting the same error. The Bundle is called Bundle_en_us_application6.properties. I attached the org-netbeans-core-windows.jar. Andreas
Is this jar on path application6/build/cluster/modules/locale? There should exists jar per locale. Look at the project's build folder I've attached. Using NB Dev Build 201306100004 on Ubuntu 12.10.
Could you please attach your whole app with build folder?
Created attachment 136078 [details] Netbeans Project of application6 incl. build folder
In my case there is just one jar with different Bundle files inside. It was the jar file from application6/build/cluster/modules/locale.
Very strange. Please try to use latest Dev Build if it happens again. I am going to check building of branding.