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 141570

Summary: I18N - MySQL err message does not come from the pseudo localized jar file
Product: db Reporter: kaa <kaa>
Component: MySQLAssignee: David Vancouvering <davidvc>
Status: RESOLVED INVALID    
Severity: blocker CC: kfrank, romanmostyka
Priority: P2 Keywords: I18N
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: check please other messages

Description kaa 2008-07-24 15:56:08 UTC
Product Version: NetBeans IDE Dev (Build 20080721233246)
Java: 1.6.0_06; Java HotSpot(TM) Client VM 10.0-b22
System: Windows XP version 5.1 running on x86; MS932; ja_JP (nb)

1. Establish connection with MySQL database. I used the foloing URL:
   jdbc:mysql://localhost:3306
2. Try to create a table

There is a message shown not pseudo localized jar file.
I'm running in Japanese locale, using a pseudo localized Netbeans with font size 16 option.
Comment 1 kaa 2008-07-24 15:56:49 UTC
Created attachment 65553 [details]
check please other messages
Comment 2 John Baker 2008-07-28 07:51:11 UTC
I believe the string "No database selected" comes from the driver.

I couldn't find any such string in the source.

It seems the error is created on line 241 of AbstractCommand in which no hardcoded strings are used.

Maybe the locale needs to be used as an option in mysqld startup command for the correct locale to appear. 
http://dev.mysql.com/doc/refman/5.0/en/error-message-language.html
Comment 3 kaa 2008-07-28 14:48:35 UTC
thanks for the investigation.
In case of bundled mysql server, is it possible to configure it automatically for user locale?