Ticket #272 (new defect)

Opened 2 months ago

extend locale setting with all relevant parameters

Reported by: mpo Assigned to: mpo
Priority: minor Milestone: 0.4
Component: -- unknown -- Version: trunk
Keywords: Cc:

Description

The i18n-locale-assignment module already maintains some LocaleSetting? object in the request-attributes (as briefly described in http://www.kauriproject.org/docs-0_4/310-kauri/312-kauri.html)

Currently this seems to be covering only language, country and time-zone-settings. We should investigate however if not more typical locale-settings (like decimal and thousand separators, short/medium date formats and the like: see your OS screens for more samples) should be included.

Additionally the KAURI_I18N cookie setting and reading code demonstrated in the i18n-sample should be

  1. extended to handle the additional data (use json in stead of current formatting?)
  2. moved into locale.js of the kauri-jquery module

Maybe we could shop around into other projects or near-specs about other people encoding or using this kind of stuff. (Anyone ever heard of such?)

(see #81, and #167)