maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benjamin Bentmann (JIRA)" <>
Subject [jira] Commented: (MPIR-79) Add explicit resource bundle for English
Date Mon, 14 Jan 2008 22:53:57 GMT


Benjamin Bentmann commented on MPIR-79:

The illustrated command should produce the site output in two *different* locales, namely
German and English (see also [Site Guide, Internationalization|]).
Now, when a report plugin does not contain a dedicated bundle for English, the second site
output will be using German again instead of English. German being the default locale does
not mean that I want all sites in German ;-)

I really suggest you go and call Maven as illustrated. Then just browse the two generated
sites. German (as being default) should hang around just unter target/site, while the English
site lies under target/site/en. Once you see the "English" site yourself, it will all get
clear... or not, depending on your knowledge about German ;-)

> Add explicit resource bundle for English
> ----------------------------------------
>                 Key: MPIR-79
>                 URL:
>             Project: Maven 2.x Project Info Reports Plugin
>          Issue Type: Bug
>    Affects Versions: 2.0.1
>            Reporter: Benjamin Bentmann
>            Priority: Minor
>         Attachments: i18n-en.patch
> The lookup strategy performed by ResourceBundle.getBundle() to find a bundle for a requested
locale will prefer the bundle for the JVM's default locale over the base bundle of a family.
For this reason, one MUST always provide an empty bundle for the language that is provided
by the base bundle. See [Sun Bug 6606475|]
for a prominent example of this bug.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


View raw message