Index: openacs-4/packages/acs-lang/www/doc/i18n-design.html =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-lang/www/doc/i18n-design.html,v diff -u -r1.8 -r1.9 --- openacs-4/packages/acs-lang/www/doc/i18n-design.html 18 Apr 2018 08:07:33 -0000 1.8 +++ openacs-4/packages/acs-lang/www/doc/i18n-design.html 3 Sep 2024 15:37:33 -0000 1.9 @@ -92,13 +92,13 @@
The language is a valid ISO Language Code. These codes are the
-lower-case two-letter codes as defined by ISO-639. You can find a full
+lowercase two-letter codes as defined by ISO-639. You can find a full
list of these codes at a number of sites, such as:
http://www.ics.uci.edu/pub/ietf/http/related/iso639.txt
-The country is a valid ISO Country Code. These codes are the upper-case two-letter codes as defined by ISO-3166. You can find a full list of these codes at a number of sites, such as:
+The country is a valid ISO Country Code. These codes are the uppercase two-letter codes as defined by ISO-3166. You can find a full list of these codes at a number of sites, such as:
http://www.chemie.fu-berlin.de/diverse/doc/ISO_3166.html
@@ -139,7 +139,7 @@ The request processor should use the ad_locale API to figure out the preferred locale for a request (perhaps combining user preference with -subsite defaults in some way). It will make this information accesible +subsite defaults in some way). It will make this information accessible via the ad_conn function:
@@ -228,7 +228,7 @@Caching multilingual ADP Templates
Message catalog lookups can be potentially expensive, if many of them are done in a page. The -templating system can already precompile and and cache adp pages. +templating system can already precompile and cache adp pages. This works fine for a page in a specific language such as foo.en.adp, but we need to modify the caching mechanism if we want to use a single template file to target multiple languages. @@ -431,7 +431,7 @@This default can be overridden by setting the AOLserver init parameter for the MIME type -of .tcl files to include an explcit character set. If an explicit +of .tcl files to include an explicit character set. If an explicit MIME type is not found, ns_encodingfortype will default to the AOLserver init parameter value DefaultCharset if it is set.
@@ -575,7 +575,7 @@ In the example above, if the catalog file was loaded from the bboard -package, all of the keys would be prefixed autmatically with "
bboard.
". +package, all of the keys would be prefixed automatically with "bboard.
".Loading A Message Catalog At Package Init Time
@@ -586,7 +586,7 @@ Is used to load the message catalogs for a package. The catalog files are stored in a package subdirectory called catalog. Their -file names have the form *.encoding.cat, where encoding +filenames have the form *.encoding.cat, where encoding is the name of a MIME charset encoding (not a Tcl charset name as was used in a previous version of this command). @@ -649,7 +649,7 @@
type
specifies the context in which the translation is made. If omitted,
type is user which means that the translation is provided in the user's preferred language.
static
specifies that this tag should be translated once at template compile time, rather than dynamically every time the page is run. This will be unneccessaru and will be deprecated once we
-have implemented effective locale based cacheing for templates.
+have implemented effective locale based caching for templates.
Example 1: Display the text string Hello on an ADP page (i.e. do nothing special):