Thanks for the response Karen. I agree, I should have posted this in the issue queue first. The link that you have sent is different from what my problem is. I did a search on drupal forums, stackexchange but unfortunately could not find an answer and therefore ended up sharing it on the mailing list. <div>
<br></div><div>Anyways, if you think this is not the right place, please share your thoughts at stackexchange -- <a href="http://drupal.stackexchange.com/questions/25356/url-function-with-i18n-localization">http://drupal.stackexchange.com/questions/25356/url-function-with-i18n-localization</a></div>
<div><br></div><div>Will post this as issue and share the link. <br><br><div class="gmail_quote">On Tue, Mar 13, 2012 at 6:40 PM, Karen Stevenson <span dir="ltr">&lt;<a href="mailto:karen@elderweb.com">karen@elderweb.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">If you&#39;re having a problem with a specific module, the obvious place to start is on that module&#39;s issue queue. A quick search of that issue queue turned up this: <a href="http://drupal.org/node/1354464" target="_blank">http://drupal.org/node/1354464</a>. You can try that patch and respond on that issue about whether it worked.<br>

<br>This list is already abused. I personally disagree that only core issues should be discussed here, but it definitely should not be a place to post questions that could be answered by looking at the issue queues of the modules in question. There are 14,000 modules on Drupal.org. If this list becomes a substitute issue queue for all 14,000 modules, it will become so noisy that everyone that might be able to help solve more difficult problems will quickly quit using it.<br>

<br>I am trying to say this kindly, assuming you didn&#39;t know any better, but please use the issue queues :)<span class="HOEnZb"><font color="#888888"><br><br>Karen</font></span><div class="HOEnZb"><div class="h5"><br>
<br><div class="gmail_quote">On Tue, Mar 13, 2012 at 6:51 AM, Mukesh Agarwal <span dir="ltr">&lt;<a href="mailto:mukesh.agarwal17@gmail.com" target="_blank">mukesh.agarwal17@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Guys,<div><br></div><div>I&#39;m using rate module for voting. When an anonymous user clicks on the voting widget, the user is redirected to a url &quot;user/login-to-rate&quot;. I&#39;m also using i18n for localization. The issue with both of these together is that when I&#39;m on a page with the URL &quot;en/my-url&quot; and I click on the voting widget, I&#39;m redirected to &quot;de/user/login-to-rate&quot; where &quot;de&quot; is my default language. Ideally the user should be going to &quot;en/user/login-to-rate&quot; i.e. user selected language should be respected.</div>


<div><br></div><div>Going into details, I find that the rate module calls url function:</div><div>







<p><span>print</span><span> </span><span>url(</span>&#39;user/login-to-rate&#39;<span>, </span><span>array</span><span>(</span>&#39;query&#39; <span>=&gt; $query, </span>&#39;absolute&#39; <span>=&gt; </span><span>TRUE</span><span>));</span></p>


</div><div>and here there is no language paramater that is passed which means the default site language gets selected. </div><div><br></div><div>Am I missing something here in the configuration? Has anyone faced a similar problem and can help?</div>

<span><font color="#888888">
<div><br></div><div>-- <br>Cheers,<div>Mukesh Agarwal</div><div>________________________________</div><div><font color="#999999"><a href="http://www.innoraft.com" target="_blank">Innoraft Solutions</a>  || </font><span style="color:rgb(153,153,153)"><a href="tel:%2B91%208017220799" value="+918017220799" target="_blank">+91 8017220799</a></span></div>


<br>
</div>
</font></span></blockquote></div><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Cheers,<div>Mukesh Agarwal</div><div>________________________________</div><div><font color="#999999"><a href="http://www.innoraft.com" target="_blank">Innoraft Solutions</a>  || </font><span style="color:rgb(153,153,153)">+91 8017220799</span></div>
<br>
</div>