Re: i18n and images
Guillem Comes <[email protected]> Thu, 24 May 2007 14:49:35 +0200 (CEST)
| Newsgroups | gmane.comp.web.zope.page-templates |
|---|---|
| Message-ID | <[email protected]> |
On 5/24/07, Andreas Jung <[email protected]> wrote: >=20 >=20 > --On 24. Mai 2007 13:12:01 +0200 Guillem Comes <[email protected]> > wrote: >=20 > > Hi, > > > > I've been reading the i18n howto > > (http://plone.org/documentation/how-to/i18n-for-developers) > > and wonder which would be the best approach for > > internationalizing images: we have some images, such > > as buttons, that contain text, and will be named > > according to the language (for example > > "subscribe_en.gif", "subscribe_es.gif"). > > > > Related to this, is there an easy way to obtain the > > current language as a variable in the ZPT? We're using > > Placeless Translation Service, and haven't found any > > mentioning of it. > > >=20 > This question is specific to Plone so you would better ask > on the plone-users list. Two things that might be worth a try: >=20 >=20 > - REQUEST/LANGUAGE >=20 > - context/portal_languages/LANGUAGE >=20 > Andreas >=20 Sorry for posting in the wrong forum, and thanks for the suggestions. They don't seem to work in my case, but I guess it depends on the specific i18n product you use... Guillem =09 ______________________________________________=20 LLama Gratis a cualquier PC del Mundo.=20 Llamadas a fijos y m=F3viles desde 1 c=E9ntimo por minuto.=20 http://es.voice.yahoo.com