RaymondYounan / LEMIS

Literacy Education Management Information System
1 stars 0 forks source link

P2: Set default for Country and User Interface Language #413

Open husseinAlsaadi opened 8 years ago

husseinAlsaadi commented 8 years ago

By default, Country should be Iraq and UI Language should be Arabic.

DrJoeHage commented 8 years ago

I added two new parameters to the AppPreference table: AppPreferenceItemID ---> DefaultCountry with the value defined in AppPreferenceValue AppPreferenceItemID ---> DefaultCulture with the value defined in AppPreferenceValue @Rfarran Please read these values upon Login and set the UI to the corresponding DefaultCulture field (from Culture table). Also, all NEW forms containing Country and Nationality (e.g. Person, Student, Teacher, Ministry, General Directorate, Directorate, Department, School, Facility) should use the DefaultCountry in the dropdown (from Country table). This will reduce the time it takes to scroll through the list of countries to select Iraq.