Consistently use i18n on both the client and server side
Description
Environment
Test Plan
Activity

Beth Kirschner October 27, 2010 at 1:38 PM

Jim Eng October 26, 2010 at 2:20 PM
In Sakai, you can instantiate a ResourceLoader object, using the default constructor and then query it for the user's locale. That allows server-side code to honor (in this order) the user's preferred locale settings, a server default setting, and sakai's defaults (English). It may be that locale can be set at other levels also (e.g. for a foreign-language class site). It looks like java's generic ResourceBundle, which is used in the server-side code in GB2) does not honor the sakai preferences and/or settings. And the browser-side code, while attempting to respect the user's local preferences would not have any info about the sakai preferences. This could lead to great inconsistencies in strings that are localized on the server vs strings localized on the browser.
We need to scan the whole code base and apply i18n on both the client and server side consistently