Index: openacs-4/packages/acs-core-docs/www/i18n-requirements.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-core-docs/www/i18n-requirements.adp,v diff -u -r1.5 -r1.6 --- openacs-4/packages/acs-core-docs/www/i18n-requirements.adp 25 Apr 2018 08:38:27 -0000 1.5 +++ openacs-4/packages/acs-core-docs/www/i18n-requirements.adp 3 Sep 2024 15:37:32 -0000 1.6 @@ -1,7 +1,11 @@ -{/doc/acs-core-docs {ACS Core Documentation}} {OpenACS Internationalization Requirements} +{/doc/acs-core-docs/ {ACS Core Documentation}} {OpenACS Internationalization Requirements} OpenACS Internationalization Requirements +

OpenACS Internationalization -Requirements

<authorblurb>

by Henry Minsky, Yon Feldman, Lars +Requirements

+

by Henry Minsky, Yon Feldman, Lars Pind, Peter Marklund, Christian -Hvid, and others.

</authorblurb>
+Hvid, and others.

+OpenACS docs are written by the named authors, and may be edited by +OpenACS documentation staff.

Introduction

This document describes the requirements for functionality in the OpenACS platform to support globalization of the core and @@ -151,7 +158,7 @@ 10.20 There will be a Tcl library of locale-aware formatting and parsing functions for numbers, dates and times. Note that Java -has builtin support for these already.

+has built-in support for these already.

10.30 For each locale there will be default date, number and currency formats. Currency i18n is NOT IMPLEMENTED for @@ -160,7 +167,7 @@ 10.40Administrators can upgrade their servers to use new locales via the APM. NOT IMPLEMENTED in 5.0.0; current -workaround is to get an xml file and load it +workaround is to get an XML file and load it manually.

@@ -177,7 +184,7 @@ request should be computed by the following method, in descending order of priority:

  • get locale associated with subsite or package id

  • get locale from user preference

  • -

    get locale from site wide default

    +

    get locale from site-wide default

    20.20 An API will be provided for getting the current request locale from the ad_conn structure.

    @@ -261,7 +268,7 @@
  • When the acs-templating package opens an ADP or Tcl file, it assumes the file is iso-8859-1. If the output charset (OutputCharset) in the AOLserver config file is set, then -acs-templating assumes it's that charset. Writing Files

  • When the acs-templating package writes an an ADP or Tcl file, it +acs-templating assumes it's that charset. Writing Files

  • When the acs-templating package writes an ADP or Tcl file, it assumes the file is iso-8859-1. If the output charset (OutputCharset) in the AOLserver config file is set, then acs-templating assumes it's that charset.

  • @@ -288,7 +295,7 @@ Submitted Form Data Character Set

50.30 Data which is -submitted with a HTTP request using a GET or POST method may be in +submitted with an HTTP request using a GET or POST method may be in any character set. The system must be able to determine the encoding of the form data and convert it to Unicode on demand.

50.35 The developer must @@ -398,23 +405,23 @@ Time Zones

90.10 Provide API support -for specifying a time zone

+for specifying a timezone

90.20 Provide an API for computing time and date operations which are aware of timezones. So for example a calendar module can properly synchronize items -inserted into a calendar from users in different time zones using +inserted into a calendar from users in different timezones using their own local times.

90.30 Store all dates and -times in universal time zone, UTC.

+times in universal timezone, UTC.

90.40 For a registered -users, a time zone preference should be stored.

+users, a timezone preference should be stored.

90.50 For a -non-registered user a time zone preference should be attached via a +non-registered user a timezone preference should be attached via a session or else UTC should be used to display every date and time.

90.60 The default if we -can't determine a time zone is to display all dates and times -in some universal time zone such as GMT.

+can't determine a timezone is to display all dates and times in +some universal timezone such as GMT.