Ticket #272 (new defect)
extend locale setting with all relevant parameters
| Reported by: | mpo | Owned by: | mpo |
|---|---|---|---|
| Priority: | minor | Milestone: | 0.5 |
| Component: | < I18N | 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
- extended to handle the additional data (use json in stead of current formatting?)
- 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?)