[
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.