[Yanel-dev] [Bug 5253] Make default language configurable per realm

bugzilla-daemon at bugzilla.wyona.com bugzilla-daemon at bugzilla.wyona.com
Mon Mar 26 14:04:18 CEST 2007


http://bugzilla.wyona.com/cgi-bin/bugzilla/show_bug.cgi?id=5253





------- Additional Comments From paloma.gomez at wyona.com  2007-03-26 14:04 -------
Created an attachment (id=636)
 --> (http://bugzilla.wyona.com/cgi-bin/bugzilla/attachment.cgi?id=636&action=view)
Make default language configurable per realm

The new implementation allows realms to configure their default language in
their  yanel-realm-config.xml file using the tag <default-language>.

To get the default language for a realm,
realm.getDefaultLanguage();

I have updated both I18n transformers as well as all the resources affected and
the tests run fine.

In order to maintain backwards compatibility with those realms that do not have
a default language configured, this implementation will attempt to retrieve
from yanel-realm-config.xml first and if it doesn't succeeds, it will set it to
"en".

Regards,
Paloma



------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.



More information about the Yanel-development mailing list