Skip to main content

Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "How should COSMOS set locale information"

(New page: Image:localprob.jpg)
 
Line 1: Line 1:
 +
Consider the following diagram that shows several COSMOS components that interact with one another.  The following diagram illustrates multiple users submitting CMDBf queries to a set of MDRs.
 +
 
[[Image:localprob.jpg]]
 
[[Image:localprob.jpg]]
 +
 +
Notice that each component can be deployed on different machines.  Also notice that each machine may have different locale settings. 
 +
 +
There are two configuration options that are possible to support internationalization
 +
 +
Locale is set based on deployment machine
 +
*  The COSMOS component will get the locale information from the machine it is deployed on. 
 +
*  This option will not work well in multi language environments where each component is on machines with different locale settings.  The end user will see information in different locales.
 +
*  This option is only viable in single language environments
 +
 +
Locale is sent from the user per request
 +
*  The client browser sends locale information in the request.  Each component that receives the request uses the locale information sent and passes this information along to the next component.
 +
*  This requires additional thought in the current COSMOS design of several components
 +
** UI Components
 +
** Data Collection Components
 +
*** MDRs
 +
*** non MDRS
 +
** CMDBf spec
 +
*** Does CMDBf query support locale information?

Revision as of 12:00, 7 May 2008

Consider the following diagram that shows several COSMOS components that interact with one another. The following diagram illustrates multiple users submitting CMDBf queries to a set of MDRs.

Localprob.jpg

Notice that each component can be deployed on different machines. Also notice that each machine may have different locale settings.

There are two configuration options that are possible to support internationalization

Locale is set based on deployment machine

  • The COSMOS component will get the locale information from the machine it is deployed on.
  • This option will not work well in multi language environments where each component is on machines with different locale settings. The end user will see information in different locales.
  • This option is only viable in single language environments

Locale is sent from the user per request

  • The client browser sends locale information in the request. Each component that receives the request uses the locale information sent and passes this information along to the next component.
  • This requires additional thought in the current COSMOS design of several components
    • UI Components
    • Data Collection Components
      • MDRs
      • non MDRS
    • CMDBf spec
      • Does CMDBf query support locale information?

Back to the top