[Zope] multi-language apps

A. Giacomelli andreag@crs4.it
Wed, 18 Jul 2001 11:51:09 +0200


hi,

i would appreciate feedback from the list on the implementation of
multilanguage applications in zope.

my experience is in php, where i have been working wih 'dictionaries'
based on associative arrays, e.g.

key_water->
   'it' -> 'acqua',
   'en' -> 'water',
...

and then retrieving definitions via something like

getdef($selected_language,key_water)

other localization issues (e.g. changing international phone prefixes,
currency etc.) are then dealt with by checking the $selected_language
variable (typically associated to a cookie).

i have read about the dtml-vary tag, but i would not see it impractical
to implement database-based dictionaries close to the associative array
thing.

TIA for any comments, and regards
-- 
=========================================
Andrea Giacomelli
Centre for Advanced Studies, Research and
Development in Sardinia
Environment Group

http://www.crs4.it/~andreag
=========================================