dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #12419
[Bug 712976] Re: i18n db performance
** Changed in: dhis2
Milestone: 2.3 => 2.5
--
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:
Confirmed
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.
References