Hi Denys,<br><br>Thank you for keep us updated on your work. <br><br>You can update the comments on the trac ticket: <a href="http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/5245">http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/5245</a> with your findings.<br>
<br>Also please create new tickets for other issues you have mentioned and suggest the fix also, this could be helpful <br>for us and community.<br><br>Regards,<br>Prasad<br>vtiger Team<br><br><div><span class="gmail_quote">On 4/1/08, <b class="gmail_sendername">δΕΞΙΣ πΟΤΑΠΟΧ</b> <<a href="mailto:denys.potapov@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">denys.potapov@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi Prasad,<br><br><br><br>I'm working with Russian language pack and met some problems.<br><br>Till now I've noticed 5 bugs with strlen and substr. I'll ready to fix them using Vtiger track, but i ask you to include the phputf8 library (<a href="http://phputf8.sourceforge.net/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://phputf8.sourceforge.net/</a> ) into the vtiger core (vtigerCRM\include\phputf8). It work's fine on many projects (for example Joomla!), and it doing well with VTiger.<br>
<br>The other thing that by default the GraphUtils.php uses Vera font:<br> line 27: DEFINE("FF_FONT1",'Vera');<br>but it has no Cyrillic support. Probably it's better to change it to Arial. Will it be right if I add this issue on track.<br>
<br>The last thing I think deals with any localisation. In Smarty Template 'Smarty/templates/ListViewEntries.tpl':<br>line 135: {$APP.LBL_NO} {$APP.$MODULE_CREATE}s {$APP.LBL_FOUND} !<br>line 172: {$APP.LBL_NO} {$APP.$MODULE_CREATE}s {$APP.LBL_FOUND} !</span></td><br>
In both cases the plural form is added in template, that is absolutely unsuitable for localisation.<br><br>For now we solve it by adding all this core (and template) files to language pack that is totally incorrect. What can be the solution?<br>
<br><br><br><br>Best regards,<br> Denys Potapov<br> <br><br><br><br><br><br><br><br><br><br><div><span class="gmail_quote">2008/3/26, Prasad <<a href="mailto:prasad@vtiger.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">prasad@vtiger.com</a>>:</span><div>
<span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi Denys,<br><br>To use mb_strlen and mb_substr you need to enable mb_string php extension.<br><br>Also check out this library: <a href="http://phputf8.sourceforge.net/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://phputf8.sourceforge.net/</a> which has wrapper functions: <a href="http://phputf8.sourceforge.net/#String_Functions" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://phputf8.sourceforge.net/#String_Functions</a><br>
<br>If you work with this, kindly let us know your observations in more details.<br><br>Good luck.<br><br>Regards,<br>Prasad<br><br><br><div><span class="gmail_quote">On 3/25/08, <b class="gmail_sendername">????? ???????</b> <<a href="mailto:denis0712@mail.ru" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">denis0712@mail.ru</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi all!<br> <br> <br> I'm using vtiger CRM 5.0.4 with Russian language Pack.<br> <br> I've noticed a bug in "\modules\Leads\ListViewTop.php" on line 115:<br> <br> $Top_Leads = (strlen($lead['leadname']) > 20) ?<br>
(substr($lead['leadname'],0,20).'...') : $lead['leadname'];<br> <br> Neither "substr" nor "strlen" work correct with Unicode chars.<br> <br> I found a solution, to use mb_strlen and mb_substr. Is it suitable to use<br>
this functions or there are some other suggestions how to fix it?<br> <br> <br> <br> <br> <br> <br> Best regards,<br> Denys Potapov<br> <br> _______________________________________________<br> <br>Reach hundreds of potential candidates - <a href="http://jobs.vtiger.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://jobs.vtiger.com</a><br>
</blockquote></div><br>
<br>_______________________________________________<br>
Reach hundreds of potential candidates - <a href="http://jobs.vtiger.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://jobs.vtiger.com</a> <br></blockquote></span></div></div><br>
<br>_______________________________________________<br>
Reach hundreds of potential candidates - <a href="http://jobs.vtiger.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://jobs.vtiger.com</a> <br></blockquote></div><br>