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 - I18N - MySQL err message does not come from the pseudo localized jar file
Summary: I18N - MySQL err message does not come from the pseudo localized jar file
Status: RESOLVED INVALID
Alias: None
Product: db
Classification: Unclassified
Component: MySQL (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: David Vancouvering
URL:
Keywords: I18N
Depends on:
Blocks:
 
Reported: 2008-07-24 15:56 UTC by kaa
Modified: 2008-07-28 14:48 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
check please other messages (17.89 KB, image/jpeg)
2008-07-24 15:56 UTC, kaa
Details

Note You need to log in before you can comment on or make changes to this bug.
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?