<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.16481" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>I want a drop down "Hobbies" list in my node 
profile that I'm using CCK to create.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Unfortunately, I discovered that "Manage Strings" 
in Localization can't help me to translate that select list, so now I'm looking 
at using PHP in the Allowed Values section.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>So far I have this:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>global $user;<BR>$HobbiesEnglish = array (1 =&gt; 
One, 2 =&gt; Two, 3 =&gt; Three, 4 =&gt; Four);<BR>$HobbiesItaliano = array (1 
=&gt; Uno, 2 =&gt; Due, 3 =&gt; Tre, 4 =&gt; Quattro);<BR>if 
($Language-&gt;language == "it")<BR>{<BR>return 
$HobbiesItaliano;<BR>}<BR>else<BR>{<BR>return $HobbiesEnglish;<BR>}</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Just trying to get the English and Italian numbers 
showing up before going the whole hog! The language conditional statement is 
working fine on another part of the site, but I can only get the English numbers 
appearing for now. </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>thanks in advance</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Neil</FONT></DIV></BODY></HTML>