Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 96902 invoked from network); 26 Oct 2007 16:37:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 26 Oct 2007 16:37:18 -0000 Received: (qmail 12659 invoked by uid 500); 26 Oct 2007 16:37:04 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 12622 invoked by uid 500); 26 Oct 2007 16:37:04 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 12380 invoked by uid 99); 26 Oct 2007 16:37:03 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Oct 2007 09:37:03 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Oct 2007 16:37:15 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id BC48C71424F for ; Fri, 26 Oct 2007 09:36:54 -0700 (PDT) Message-ID: <27929911.1193416614769.JavaMail.jira@brutus> Date: Fri, 26 Oct 2007 09:36:54 -0700 (PDT) From: "Mamta A. Satoor (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Commented: (DERBY-2188) Developer's Guide talks about a jdbc url property "locale" which is not supported by Derby. In-Reply-To: <26182603.1166283080981.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DERBY-2188?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12538013 ] Mamta A. Satoor commented on DERBY-2188: ---------------------------------------- Laura, I looked at the cdevin55108.html page and I have to admit that the contents of it look confusing to me. The html seems to be giving contradictory information. May be someone who knows more about tools, error messages and how they are related to locale can help us determine the right content but I thought I will bring to the list's attention. The page says that "For example, Derby explicitly supports Spanish-language error messages. If a database's locale is set to one of the Spanish-language locales, Derby returns error messages in the Spanish language." So this seems to indicate that locale of the database will determine the language of the error messages. But the line below seems to say that locale of the database has nothing to do with language of the error messages. "The locale of the database is set by the territory=ll_CC attribute when the database is created. However, **the locale of the error messages and tools is not determined by the locale of the database**. The locale of the error messages and tools is determined by the default system locale. This means that it is possible to create a database with a non-default locale. In such a case, error messages are not returned in the language of the locale of the database but are returned in the language of the default locale instead." Sorry, at this point, I do not know enough about how tools and error messages work in Derby to tell you what is the right content for cdevin55108.html. I am hoping someone who knows more about this can help us. > Developer's Guide talks about a jdbc url property "locale" which is not supported by Derby. > ------------------------------------------------------------------------------------------- > > Key: DERBY-2188 > URL: https://issues.apache.org/jira/browse/DERBY-2188 > Project: Derby > Issue Type: Bug > Components: Documentation > Affects Versions: 10.2.1.6 > Reporter: Mamta A. Satoor > Assignee: Laura Stewart > Attachments: 2188_1.diff, 2188_1.diff, cdevin55108.html, derby2188_2.diff, rgsquck30197.html, rtoolsijpropref97949.html, rtoolsijpropref97949.html > > > Under "Localizing Derby" section, Developer's Guide talks about error messages and tools not relying on database's locale set by "locale=ll_CC". But Derby does not support any property called "locale". > The exact statement from documentation is as follows > "The locale of the error messages and of the tools is not determined by the database's localle set by the locale=ll_CC attribute when the database is created but instead by the default system locale. This means that it is possible to create a database with a non-default locale. In such a case, error messages would not be returned in the language of the database's locale but in the language of the default locale instead." -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.