Multi Language Image Banner Display - [How to if possible?]
Hello, ZOPE-DEVers I would like to be able to not only generate different language content via the .po .mo files, (as I have breifly learned about via the online documentation), but also have my own different images (and ultimately title banners) appear with graphical text that is also in multiple different languages. Simply... I'm asking if you would please give a code example of how an image can also be multi-language dynamic with ZOPE. I wondered if it would be in the .po files that each image would simply have different code (or "<IMG SRC="s) or if one puts something like a <IMG SRC=/images/titles/mainPageTitle.jpg?language=fr>, or maybe a dynamic component is referenced that has it's own po+mo file, or .... something else? Please help me understand if this product is right for us, with an example that shows what one does in ZOPE to achieve this desired effect of multi-language banner/images. Thanks Zak <zak_ziggy@hotmail.com> _________________________________________________________________ MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus&pgmarket=en-ca&RU=http%3a%2f%2fjoin...
Zak Ziggy wrote at 2003-11-16 00:40 -0800:
... Simply... I'm asking if you would please give a code example of how an image can also be multi-language dynamic with ZOPE.
On my Zope page, you find an External Method "Localizer" that selectively serves different objects based on context (e.g. a language selection). Note that this is dangerous, when you use caching (which is a good idea for high traffic sites ;-)). PS: Your question would probably have been more adequate for "zope@zope.org". -- Dieter
participants (2)
-
Dieter Maurer -
Zak Ziggy