Thank you all very much for your answers. <br>
The second solution that Jo provided worked exactly as I wanted:<br>
<br>
.. tal:content=&quot;python: getattr(obj, 'Title_%s'%lang)&quot;..<br>
<br>
A good day to you all,<br>
Cristi<br><br><div><span class="gmail_quote">On 7/29/05, <b class="gmail_sendername">Jonathan</b> &lt;<a href="mailto:dev101@magma.ca">dev101@magma.ca</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">







<div><font face="Arial" size="2">I don't know if this is what you are looking 
for,&nbsp;but can use a form of indirection that is available thru 
dtml:</font></div>
<div><font face="Arial" size="2"></font>&nbsp;</div>
<div><font face="Arial" size="2">&lt;dtml-call &quot;REQUEST.set('a1', 
'aaa')&quot;&gt;<br>&lt;dtml-call &quot;REQUEST.set('b1', 'a1')&quot;&gt;</font></div>
<div><font face="Arial" size="2"></font>&nbsp;</div>
<div><font face="Arial" size="2">&lt;dtml-var b1&gt;<br>&lt;br&gt;<br>&lt;dtml-var 
&quot;_[b1]&quot;&gt;<br></font></div>
<div><font face="Arial" size="2">will print:</font></div>
<div><font face="Arial" size="2"></font>&nbsp;</div>
<div><font face="Arial" size="2"><font face="Times New Roman" size="3">a1 <br>aaa 
</font></font></div>
<div><font face="Arial" size="2"><font face="Arial" size="2"></font></font>&nbsp;</div>
<div><font face="Arial" size="2"><font face="Times New Roman" size="3">This will allow 
you to load variable b1 within a 'pointer' to a variable containing the data you 
want.</font></font></div>
<div><font face="Arial" size="2"><font face="Arial" size="2"></font></font>&nbsp;</div>
<div><font face="Arial" size="2"><font face="Arial" size="2"></font></font>&nbsp;</div>
<div><font face="Arial" size="2"><font face="Times New Roman" size="3">hth 
</font></font></div><span class="sg">
<div><font face="Arial" size="2"><font face="Arial" size="2"></font></font>&nbsp;</div>
<div><font face="Arial" size="2"><font face="Times New Roman" size="3">Jonathan</font></font></div>
<div><font face="Arial" size="2"></font>&nbsp;</div>
<div><font face="Arial" size="2"></font>&nbsp;</div>
</span><blockquote style="border-left: 2px solid rgb(0, 0, 0); padding-right: 0px; padding-left: 5px; margin-left: 5px; margin-right: 0px;"><div><span class="e" id="q_1056381b54d3bd67_3">
  <div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;">----- Original Message ----- </div>
  <div style="background: rgb(228, 228, 228) none repeat scroll 0% 50%; -moz-background-clip: initial; -moz-background-origin: initial; -moz-background-inline-policy: initial; font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;">
<b>From:</b> 
  <a title="kristache@gmail.com" href="mailto:kristache@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">Cristi 
  Barladeanu</a> </div>
  <div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>To:</b> <a title="lists@andreas-jung.com" href="mailto:lists@andreas-jung.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
Andreas Jung</a> </div>
  <div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>Cc:</b> <a title="zope@zope.org" href="mailto:zope@zope.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
zope@zope.org</a> </div>
  <div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>Sent:</b> Friday, July 29, 2005 12:02 
PM</div>
  <div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>Subject:</b> Re: [Zope] Composing 
  variables</div>
  <div><br></div>Hello Andreas and thank for your answer. I've posted this 
  question to at-users<br>list too but still no answer. In fact this problem is 
  not related only to AT. Let me <br>give you an example:<br><br>var alternative 
  = 'bar' or 'baz'<br>var foo_baz = 'content based on baz'<br>var foo_bar = 
  'content based on bar'<br><br>These can be defined either in ZPT, DTML or 
  Python Script. The problem is the same.<br>The question is how can I obtain 
  the value of foo_$alternative.<br><br>An example written in 
  PHP:<br><br>$alternative&nbsp; = &quot;bar&quot;;<br>$foo_bar = &quot;content based on 
  bar&quot;;<br>echo ${&quot;foo_&quot;.$alternative} <br><br>This will produce &quot;content based 
  on bar&quot;.<br><br>Thanks for your time,<br>Cristi<br><br>
  <div><span class="gmail_quote">On 7/28/05, <b class="gmail_sendername">Andreas 
  Jung</b> &lt;<a href="mailto:lists@andreas-jung.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">lists@andreas-jung.com</a>&gt; 
  wrote:</span>
  <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br><br>--On 
    28. Juli 2005 11:59:09 +0300 Cristi Barladeanu &lt;<a href="mailto:kristache@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">kristache@gmail.com</a>&gt;<br>wrote:<br><br>&gt; 
    Good day everyone<br>&gt;<br>&gt; I've defined some archetypes that contain 
    fields like Title_en, Title_de, <br>&gt; Content_en, Content_de, 
    etc.<br>&gt; Assuming that I've set a language var related to URL like (lang 
    = 'en'),<br>&gt; how&nbsp;&nbsp;can i access them?<br>&gt;<br><br>Please ask 
    AT related questions on the at-users list. In general you should <br>not 
    access attributes in AT directly but only through the accessor 
    methods.<br>There is something like getField(fieldname) in the AT which 
    might help you<br>(look also at the AT 
  docs).<br><br>-aj<br><br></blockquote></div><br>
  </span></div><p>
  </p><hr>

  <p></p>_______________________________________________<span class="q"><br>Zope maillist&nbsp; 
  -&nbsp; 
  <a href="mailto:Zope@zope.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">Zope@zope.org</a><br><a href="http://mail.zope.org/mailman/listinfo/zope" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://mail.zope.org/mailman/listinfo/zope</a><br>**&nbsp;&nbsp; 
  No cross posts or HTML encoding!&nbsp; **<br>(Related lists - 
  <br>&nbsp;<a href="http://mail.zope.org/mailman/listinfo/zope-announce" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://mail.zope.org/mailman/listinfo/zope-announce</a><br>&nbsp;<a href="http://mail.zope.org/mailman/listinfo/zope-dev" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://mail.zope.org/mailman/listinfo/zope-dev</a> 
  )<br></span><p></p></blockquote>

<br>_______________________________________________<br>Zope maillist &nbsp;- &nbsp;<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:Zope@zope.org">Zope@zope.org</a><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://mail.zope.org/mailman/listinfo/zope" target="_blank">
http://mail.zope.org/mailman/listinfo/zope</a><br>** &nbsp; No cross posts or HTML encoding! &nbsp;**<br>(Related lists -<br>&nbsp;<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://mail.zope.org/mailman/listinfo/zope-announce" target="_blank">
http://mail.zope.org/mailman/listinfo/zope-announce</a><br>&nbsp;<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://mail.zope.org/mailman/listinfo/zope-dev" target="_blank">http://mail.zope.org/mailman/listinfo/zope-dev
</a> )<br><br><br></blockquote></div><br>