timekiller Posted December 17, 2005 Posted December 17, 2005 Does anyone know how I can translate the "newsletter" and "product_notification" that one can choose between. Im not talking about the entire modul - its translated. But its the precise above mentioned text that one can pick/choose between ( the two different newsletter types). All though I have searched the php's etc in the language directory it seems to be more integrated and not easy to find :-( Any comment would be appriciated - ty
♥Monika in Germany Posted December 17, 2005 Posted December 17, 2005 Does anyone know how I can translate the "newsletter" and "product_notification" that one can choose between. Im not talking about the entire modul - its translated. But its the precise above mentioned text that one can pick/choose between ( the two different newsletter types). All though I have searched the php's etc in the language directory it seems to be more integrated and not easy to find :-( Any comment would be appriciated - ty Hi, you cannot make it multilingual, but you can rename them ... because the words in the dropdon are generated from the file names, it just takes the first part from the filename without the .php ... thus the underscore in products_notifications. So if you rename one file to blub.php and the other to yup.php the dropdown will show blub and yup to choose from. dropdown is created here (admin/newsletter.php, line 168) for ($i=0, $n=sizeof($directory_array); $i<$n; $i++) { $modules_array[] = array('id' => substr($directory_array[$i], 0, strrpos($directory_array[$i], '.')), 'text' => substr($directory_array[$i], 0, strrpos($directory_array[$i], '.'))); } and called here in line 177: <tr> <td class="main"><?php echo TEXT_NEWSLETTER_MODULE; ?></td> <td class="main"><?php echo tep_draw_pull_down_menu('module', $modules_array, $nInfo->module); ?></td> </tr> :-) Monika addicted to writing code ... can't get enough of databases either, LOL! my toolbox: Textpad - Compare and Merge - phpMyAdmin - WS_FTP - Photoshop - How to search the forum Interactive Media Award July 2007 ~ category E-Commerce my advice on the forum is for free, PMs where you send me work are considered consultation which I charge for ...
timekiller Posted December 21, 2005 Author Posted December 21, 2005 Thx Monika - u r an angel! - ill try it right away. :thumbsup:
timekiller Posted December 21, 2005 Author Posted December 21, 2005 Aye it worked - did I say u r an angel?? well u r - ty i love u :blush:
♥Monika in Germany Posted December 21, 2005 Posted December 21, 2005 Aye it worked - did I say u r an angel?? well u r - ty i love u :blush: you're very welcome Michael ... :-) Monika addicted to writing code ... can't get enough of databases either, LOL! my toolbox: Textpad - Compare and Merge - phpMyAdmin - WS_FTP - Photoshop - How to search the forum Interactive Media Award July 2007 ~ category E-Commerce my advice on the forum is for free, PMs where you send me work are considered consultation which I charge for ...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.