Hi,
we are starting to use mojoportal as a framework to develop a custom feature related to document management.
Our purpose is basically to show lists of documents and permit to authenticated users to manage these objects (search, edit, delete, and so on).
In this particular context, translations of the static content (labels, buttons, titles, help, ...) are a very important theme; for this reason, we focused on the possibility to "force" the authenticated users to select between languages actually supported on the site (in other words, between languages for which exists a complete and verified translation of the variuos items).
In order to make some tests (trying to alter mojoportal core as little as possible), we acted as follows:
1) added in mojoprofile.config a custom field used to manage the User's Preferred Language; the user can choose between some "active" languages (cultures) fixed in the "optionlist" of the field definition.
1) added a new custom key in web.config file (or in user.config), used to ebable/disable Culture override with the user's preferred language.
3) added some custom code in culturehelperhttpmodule.cs (and other few parts), that override the page culture (only if the user is authenticated, the override feature is enabled in web.config or user.config files, and there is a preferred
culture code in the user's profile).
The trick worked, but we realized that we need to implement a more "sophisticated" system to achieve other purposes.
In particular, we need to define "active" languages by means of a table instead of a static list in the mojoprofile.config file (for instance, to guide the administrative users in compiling our core data tables, in which they have to register the item description in the various "active" languages).
At this point, we noticed that in mojoportal DB there is already a table named dbo.mp_language (with a corresponding "hidden" administration page that is not included in the core data management menu).
So, please, could you explain the purpose of the standard language table? Is it something related to the webstore module for managing a requirement similar to our?
Thanks in advance, and please pardon my English
p.s.: Did anyone showed the need for a few additional security features related to privacy, like "user account expiration date", "force password change at the next login", "block user if he did not login in the last xx months"?