Re: [Zope] multi-language apps
There's a number of different i18n packages on zope.org - ZBabel and Localiser (sp?) I think are two. See if either of them suit your needs. Anthony
"A. Giacomelli" wrote 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 =========================================
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
-- Anthony Baxter <anthony@interlink.com.au> It's never too late to have a happy childhood.
i would appreciate feedback from the list on the implementation of multilanguage applications in zope.
For any internationalization/localisation items, I suggest you subscribe to zip@zope.org: http://lists.zope.org/mailman/listinfo/zip , which has just been revived. Also: http://lists.zope.org/pipermail/zip/2001-July/000008.html -- Maarten Slaets Contact: http://zope.neolabs.be/home/maarten/maarten.vcf
participants (2)
-
Anthony Baxter -
Maarten Slaets