Hi, How do u think if we add more one parameter "defaultLocale" in DatabaseLocaleManager class and beans.xml too as same as UserSettingLocaleManager class.
2011/2/4 Lars Helge Øverland <larshe...@gmail.com> > Public bug reported: > > In my opinion there is a serious flaw in the i18n database solution. We > are currently populating the translations table for the default locale > which is defined by the LocaleManager and corresponds to the locale of > the contents entered into the "main" database tables. During runtime all > objects/collections are translated in the service layer before handed > over to the view, even if we are running with "default locale". This > operation is using precious milliseconds and is unnecessary. The > I18nService should simply shortcut the translation routine if default > locale is detected, and the startup population of the translations > should be removed. > > ** Affects: dhis2 > Importance: Undecided > Assignee: Lars Helge Øverland (larshelge) > Status: New > > ** Changed in: dhis2 > Milestone: None => 2.2 > > ** Changed in: dhis2 > Assignee: (unassigned) => Lars Helge Øverland (larshelge) > > > > -- Good health ! -- You received this bug notification because you are a member of DHIS 2 developers, which is subscribed to DHIS. https://bugs.launchpad.net/bugs/712976 Title: i18n db performance Status in DHIS 2 - District Health Information Software: New Bug description: In my opinion there is a serious flaw in the i18n database solution. We are currently populating the translations table for the default locale which is defined by the LocaleManager and corresponds to the locale of the contents entered into the "main" database tables. During runtime all objects/collections are translated in the service layer before handed over to the view, even if we are running with "default locale". This operation is using precious milliseconds and is unnecessary. The I18nService should simply shortcut the translation routine if default locale is detected, and the startup population of the translations should be removed. _______________________________________________ Mailing list: https://launchpad.net/~dhis2-devs Post to : dhis2-devs@lists.launchpad.net Unsubscribe : https://launchpad.net/~dhis2-devs More help : https://help.launchpad.net/ListHelp